Created
February 26, 2019 23:56
-
-
Save igorvolnyi/c30df525d47d973d66e40016955cb39a to your computer and use it in GitHub Desktop.
Generate random passwords using core linux utils only
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
# Count is needed to limit amount of bytes read from /dev/urandom | |
# fold controls letgth of displayed character sequences | |
# head specifies number of passwords to generate | |
# tr defines characters to use | |
dd if=/dev/urandom bs=1 count=30000 status=none | tr -cd '[:graph:]' | fold -w 25 | head -n 40 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment