Created
April 6, 2018 17:45
-
-
Save paolobrasolin/e1819c4df1735f836d1a919b7836b93b to your computer and use it in GitHub Desktop.
POSIX 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
rndch () { cat /dev/urandom | LC_ALL=C tr -dc '[:graph:]' | head -c $1; }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment