Skip to content

Instantly share code, notes, and snippets.

@mattes
Last active December 25, 2015 00:38
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 mattes/6888820 to your computer and use it in GitHub Desktop.
Save mattes/6888820 to your computer and use it in GitHub Desktop.
create random password
echo $(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 10 | head -n 1)
echo "$(date +%y)$(openssl rand -hex 4)"
@mattes
Copy link
Author

mattes commented Oct 15, 2013

openssl rand -hex 4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment