Created
June 24, 2024 06:38
-
-
Save hiAndrewQuinn/f6b43c15233307e37fd6b62e8756196a to your computer and use it in GitHub Desktop.
Generate a random password from the shell alone
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 -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Harvested with love from @rujmah 's collection over at https://gist.github.com/rujmah/5c0e7b1653649d147abb53ed2db4f2d1 . If you need non-alphanumerics, etc., head yonder!