You can use this Bash function in your .bashrc file to generate a random alphanumeric string. This comes in handy when you need to generate a long, secure password for example. Adjust to your needs. An example usage and output is If needed you can add special characters to the tr command: This’ll generate a […]
The post Bash function to generate a random alphanumeric string appeared first on Sysadmins of the North.