A super simple POSIX sh *nix offline password generator
UNLICENSE License
randompassword
: A super simple POSIX *nix offline password generator
TL;DR basically any *nix system (i.e. Linux, *BSD, macOS, Solaris)
/bin/sh
tr
, fold
, and head
man
, xclip
xclip
, it will automatically copy the generated password to your clipboardrandompassword # 20 character password
randompassword 35 # 35 character password
randompassword -s # 20 character password with symbols
randompassword -s 35 # 35 character password with symbols
randompassword -h # Shows manpage
(needs curl
, chmod
, optionally sudo
, mandb
):
# Install program
sudo curl -fsSL https://raw.githubusercontent.com/ThatOneCalculator/randompassword/main/randompassword -o /usr/bin/randompassword
sudo chmod +x /usr/bin/randompassword
# Manpage
sudo curl -fsSL https://raw.githubusercontent.com/ThatOneCalculator/randompassword/main/randompassword.1.gz -o /usr/share/man/man1/randompassword.1.gz
mandb