Jump to content

Command Crate ¿about?

Generate random password from dictionary words (shuf)

shuf -n10 /usr/share/dict/words | tr -d '\n' | head -c15

Uses shuf to randomly select 10 dictionary words, removes newline characters with tr, and limits the output to the first 15 characters, creating a memorable password like "correct battery staple horse" obligatory xkcd reference: 936 - https://xkcd.com/936

utilities [kb:214]