rwx/sh/alias/pwgen.sh

18 lines
298 B
Bash
Raw Permalink Normal View History

2023-05-18 12:29:49 +00:00
# generate passwords
2024-11-19 13:42:11 +00:00
pwg() { a__pass_word_gen "${@}"; }
a__pass_word_gen() {
2024-11-16 14:26:30 +00:00
pwgen \
-1 \
--num-passwords 1048576 \
--secure \
"${@}"
}
2023-05-18 12:29:49 +00:00
# generate passwords with symbols
2024-11-19 13:42:11 +00:00
pwgs() { a__pass_word_gen_symbols "${@}"; }
a__pass_word_gen_symbols() {
a__pass_word_gen \
2024-11-16 14:26:30 +00:00
--symbols \
"${@}"
}