Created
October 6, 2014 17:28
-
-
Save wjimenez5271/1edf543edea4431c3cbf to your computer and use it in GitHub Desktop.
Random Password Generator for Bash (OSX)
This file contains hidden or 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
| # Borrowed from http://www.commandlinefu.com/commands/view/4183/generate-random-password | |
| function randpass() { | |
| cat /dev/urandom | env LC_CTYPE=C tr -dc a-zA-Z0-9 | head -c 16; echo | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment