thiagowfx's avatar

Β¬ just serendipity πŸ€ (not just serendipity)

Quick and dirty random password generator

β€’ 51 words β€’ 1 min β€’ updated

⚠️ This post is over one year old. It may no longer be up to date or relevant. Opinions may have changed.

On Linux / macOS, use /dev/urandom, with a tr pass-through filter:

shell
% tr -dc 'A-Za-z0-9' < /dev/urandom | head -c 20 && echo
BLH1gVgdukdmTcvopOuC

In the example above only alphanumeric characters are allowed.

There are other popular ways to do so: