From 9cce2aa8c2f5787fa0adde2cb9377f30b8b64abc Mon Sep 17 00:00:00 2001 From: William Chua <68385179+veenoise@users.noreply.github.com> Date: Tue, 24 Mar 2026 22:40:55 +0800 Subject: [PATCH] pwgen: refresh page (#21682) Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> --- pages/common/pwgen.md | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/pages/common/pwgen.md b/pages/common/pwgen.md index fa96b562df..3f385569bf 100644 --- a/pages/common/pwgen.md +++ b/pages/common/pwgen.md @@ -3,14 +3,26 @@ > Generate pronounceable passwords. > More information: . -- Generate random password with symbols: +- Generate 160 random passwords with character length of 8: -`pwgen {{[-y|--symbols]}} {{length}}` +`pwgen` + +- Generate passwords with character length of 20: + +`pwgen 20` + +- Generate 10 passwords with character length of 20: + +`pwgen 20 10` + +- Generate random passwords with symbols: + +`pwgen {{[-y|--symbols]}}` - Generate secure, hard-to-memorize passwords: -`pwgen {{[-s|--secure]}} {{length}}` +`pwgen {{[-s|--secure]}}` -- Generate password with at least one capital letter in them: +- Generate password with at least one capital letter in them, specify their length, and how many to generate: -`pwgen {{[-c|--capitalize]}} {{length}}` +`pwgen {{[-c|--capitalize]}} {{length}} {{count}}`