mercredi 9 septembre 2015

using random to generate a random string in bash

I am trying to use the bash function RANDOM to create a random string that consists of 8 character from a variable that contains integer and alphanumeric digits (eg: var="abcd1234ABCD")

Thank you.




Aucun commentaire:

Enregistrer un commentaire