4 ms·
or shell alias: cat /usr/share/dict/words | awk 'BEGIN{srand();}{print rand()"\t"tolower($0)}' | sort -k1 -n | cut -f2 | head -n 4 | tr "\\n" " " suggesti
by nikcub 13y ago
or shell alias:
cat /usr/share/dict/words | awk 'BEGIN{srand();}{print rand()"\t"tolower($0)}' | sort -k1 -n | cut -f2 | head -n 4 | tr "\\n" " "
suggestion would be to find a better word list than the default aspell since that is the entire Oxford dictionary, which isn't as memorable (although it is an interesting way to learn about new words).
- __david__ 13y agoOr, if you have GNU coreutils installed (on linux, for example): shuf -n 4 /usr/share/dict/words
- discreditable 13y agoAlso contains explicit words. Doesn't stop me from using it for myself, but it's not helpful if you are looking to generate passwords for others.