mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 05:22:09 +02:00
apg: add page (#1013)
* add page with examples for apg (advanced password generator) * edits per code review * spread the examples across more options than just -m and -M * expand abbreviations and add double curly brackets
This commit is contained in:
parent
4d19e2f249
commit
35635d7afb
1 changed files with 23 additions and 0 deletions
23
pages/common/apg.md
Normal file
23
pages/common/apg.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
# apg
|
||||
|
||||
> Creates arbitrarily complex random passwords.
|
||||
|
||||
- Create random passwords (default password length is 8):
|
||||
|
||||
`apg`
|
||||
|
||||
- Create a password with at least 1 symbol (S), 1 number (N), 1 uppercase (C), 1 lowercase (L):
|
||||
|
||||
`apg -M SNCL`
|
||||
|
||||
- Create a password with 16 characters:
|
||||
|
||||
`apg -m {{16}}`
|
||||
|
||||
- Create a password with maximum length of 16:
|
||||
|
||||
`apg -x {{16}}`
|
||||
|
||||
- Create a password that doesn't appear in a dictionary (the dictionary file has to be provided):
|
||||
|
||||
`apg -r {{dictionary_file}}`
|
Loading…
Add table
Reference in a new issue