Generate random strings
Problem :
Needed random strings, characters from one liner bash to use on password.
Solution :
< /dev/urandom tr –dc _A-Z-a-z-0-9 | head -c8
(take note of the first symbol? less then, it is suppose to be there).
the above command will generate a 8 random character.