Skip to content

Instantly share code, notes, and snippets.

@mjj2000
Last active December 14, 2015 11:49
Show Gist options
  • Save mjj2000/5081474 to your computer and use it in GitHub Desktop.
Save mjj2000/5081474 to your computer and use it in GitHub Desktop.
Generate md5 hash of source string typed by user
# generate md5 hash of source string typed by user
echo -n 'source string:'
read str
echo -n $str | md5sum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment