Skip to content

Instantly share code, notes, and snippets.

@solomonhuang
Created November 13, 2013 03:57
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 solomonhuang/7443477 to your computer and use it in GitHub Desktop.
Save solomonhuang/7443477 to your computer and use it in GitHub Desktop.
Easy password generator
genpw(){ < /dev/urandom tr -dc "_A-Z-a-z-0-9!@#$%^&()=" | head -c${1:-16};echo;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment