Created
August 25, 2013 06:27
-
-
Save code6/6332333 to your computer and use it in GitHub Desktop.
generate random password (works on Mac OS X)
ref:
http://www.commandlinefu.com/commands/view/7949/generate-random-password-works-on-mac-os-x
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
env LC_CTYPE=C tr -dc "a-zA-Z0-9-_\$\?" < /dev/urandom | head -c 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment