Post History
Of course every language has some kind of random library... But can you generate custom random strings with just basic CLI tools? For example, we have /dev/random which provides a stream of random...
#2: Post edited
How do you generate random strings with basic Unix tools?
- How do you generate random strings from /dev/random?
#1: Initial revision
How do you generate random strings with basic Unix tools?
Of course every language has some kind of `random` library... But can you generate custom random strings with just basic CLI tools? For example, we have `/dev/random` which provides a stream of random values... But they're random bytes, so a lot of them are non-printable or special characters. If I want a random number of random alphanumeric string, how do I get that from `/dev/random`?