A shell script to generate password.
$ ./passgen [options] decent|strong|hard
Types:
decent
: 10 charsstrong
: 15 charshard
: 40 chars
Options:
-l 0-9
: Password length.-n 0-9
: Number of password to generate.-q
: Quiet mode to only return the password.
$ curl -LsS https://raw.githubusercontent.com/nicolas-brousse/passgen/v1.0.2/passgen -o /usr/local/bin/passgen
$ chmod a+x /usr/local/bin/passgen
brew install https://raw.githubusercontent.com/nicolas-brousse/passgen/master/contrib/homebrew/passgen.rb
Inspired by randomkeygen.com