Posted inGNU Linux
Bash function to generate a random alphanumeric string
Create a random string in Bash easily. You can use this Bash function in your .bashrc file to generate a random string of alphanumeric characters. This comes in handy when you need to generate a long, secure password for example. Adjust to your needs.