Forked from earthgecko/bash.generate.random.alphanumeric.string.sh
Last active
May 17, 2016 03:19
-
-
Save phase/b42f143c1412d0db6ae52160b48ba2ee to your computer and use it in GitHub Desktop.
shell/bash generate random string
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 | |
# bash generate random 5 character string) | |
cat /dev/urandom | tr -dc 'a-z' | fold -w 5 | head -n 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/phase/omgos - Name generated from this