Skip to content

Instantly share code, notes, and snippets.

@juliangroen
Created August 27, 2021 04:19
Show Gist options
  • Save juliangroen/aff6a20d9d7cfa731d4282907ddc96c7 to your computer and use it in GitHub Desktop.
Save juliangroen/aff6a20d9d7cfa731d4282907ddc96c7 to your computer and use it in GitHub Desktop.
get four words for passphrase from /usr/share/dict/words (lowercase, non-posessive, min 4 letters, max 8 letters)
#!/bin/sh
shuf /usr/share/dict/words | grep -E "^[a-z]{4,8}$" | head -4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment