Originally published on the old depletionmode / 2of1 blog (archived copy).
It’s quite easy to generate a random word to be used for anything your heart desires!
shuf -n1 /usr/share/dict/wordsObviously if you need to generate for user/pass purposes, you can just remove all those annoying characters that are sometimes returned by piping into good ol’ sed:
shuf -n1 /usr/share/dict/words | sed 's/[^a-z]*//g'