Skip to content

Instantly share code, notes, and snippets.

@miebach
Created June 3, 2014 20:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miebach/e4bb82d87d6bd8f300fe to your computer and use it in GitHub Desktop.
Save miebach/e4bb82d87d6bd8f300fe to your computer and use it in GitHub Desktop.
Generate random strings in bash
< /dev/urandom tr -dc A-Za-z0-9 | head -c8
#or
echo $RANDOM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment