Last active
December 14, 2015 22:18
-
-
Save dgrant/5157199 to your computer and use it in GitHub Desktop.
Generate random passwords
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
#!/bin/bash | |
for ((n=0;n<10;n++)); | |
do | |
dd if=/dev/urandom count=1 2> /dev/null | uuencode -m -| head -n 2 | tail -n 1 | cut -c-8 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment