How to Generate a Random AlphNumeric String in Linux/MacOS
If you need to generate a random AlphaNumeric string from the Linux/MacOS Command-Line, then you can use the following script:
|
|
This can also be piped into a variable as follows:
|
|
The above echo $RANDOM_ID
will resemble something similar to: 90fa3bb51922eadc