tldr/pages.zh/common/pwgen.md

17 lines
300 B
Markdown
Raw Normal View History

2019-03-13 03:31:49 +00:00
# pwgen
> 生成可拼写发音的密码。
> 更多信息:<https://github.com/tytso/pwgen>.
2019-03-13 03:31:49 +00:00
- 生成指定长度的随机密码:
2019-03-13 03:31:49 +00:00
`pwgen -y {{长度}}`
- 生成安全、难以记忆的密码:
2019-03-13 03:31:49 +00:00
`pwgen -s {{长度}}`
- 生成至少包含一个大写字母的密码:
2019-03-13 03:31:49 +00:00
`pwgen -c {{长度}}`