Created
June 27, 2010 23:24
-
-
Save breun/455259 to your computer and use it in GitHub Desktop.
Generate a password of 10 random alphanumeric characters
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/sh | |
# Generate a string of 10 random alphanumeric characters | |
env LC_CTYPE=C tr -cd "[:alnum:]" < /dev/urandom | head -c 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment