Last active
August 16, 2021 13:19
-
-
Save williamjacksn/9c37f1929764a1f79f72beaba122ea86 to your computer and use it in GitHub Desktop.
Get random words from dictionary file, great for creating passwords
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Install a dictionary file on Ubuntu like so | |
# sudo apt install wamerican | |
# ignore words with an apostrophe, then choose 10 at random | |
grep --fixed-strings --invert-match \' /usr/share/dict/words | shuf --head-count=10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment