Skip to content

Instantly share code, notes, and snippets.

@romanows
romanows / randomwords.sh
Last active December 10, 2015 12:18
Bash script to generate 3 random words from the dictionary in Ubuntu 12.04. Useful for passwords. Requires the "randomize-lines" package.
#!/bin/sh
rl -r -c 3 /usr/share/dict/web2 | tr '\n' ' '; echo