Skip to content

Instantly share code, notes, and snippets.

@jotbe
Created May 10, 2013 13:37
Show Gist options
  • Save jotbe/5554432 to your computer and use it in GitHub Desktop.
Save jotbe/5554432 to your computer and use it in GitHub Desktop.
simple password generator shell commands
# Generate secure passwords
tr -cd '[:print:]' < /dev/urandom | head -c 10 | xargs
# Generate simple passwords
tr -cd '[:alnum:]' < /dev/urandom | head -c 8 | xargs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment