Wednesday, November 5, 2025

Generating Random Words from the Linux CLI

shuf -n 20 /usr/share/dict/words


! If you get an error that there is no file words then you need to get a dictionary file. You can install the wamerican package which will download a dictionary file to this location and add a link from words to it.

sudo apt install wamerican