Created
January 26, 2012 15:41
-
-
Save danse/1683323 to your computer and use it in GitHub Desktop.
Generate a random password with a precise starting sequence
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
# paste this on the shell | |
startgen () { while ! pwgen -nyc | grep "^$1"; do :; done } | |
# then use it like | |
# startgen B |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment