Generating passwords with /dev/random


One-liner to generate passwords, lock files, etc.

watch -n5 'cat /dev/urandom | tr -dc \[:alnum:\] | head -c12; echo'
bash