Created
May 10, 2014 10:16
-
-
Save dbrock/bb53a2fc160a549b1ef5 to your computer and use it in GitHub Desktop.
Generate memorable passwords ("correct horse battery staple")
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
genpass() { local w=/usr/share/dict/words; for i in {1..4}; do cat -n $w | | |
grep -w $(jot -r 1 1 `wc -l <$w`) | cut -f2; done | xargs echo; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment