Created
June 27, 2023 16:22
-
-
Save ppdouble/bc115d0c031d9ee490e81062b4c20ae4 to your computer and use it in GitHub Desktop.
Create 32 length random String in bash
This file contains hidden or 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
cat /dev/urandom | tr -cd 'a-zA-Z0-9' | head -c 32 | xargs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://stackoverflow.com/questions/3114606/random-character-generator-with-a-range-of-a-z-0-9-and-punctuation