Generate a random string using /dev/urandom
.
By default the length of the string is 8, but it can be specified by passing it as the first argument. The length can be between 1 and 99.
Generate a random string
randstr
Generate a random string with a length of 32
randstr 32