Forrest logo
tool overview
On this page you find all important commands for the CLI tool pwgen. If the command you are looking for is missing please ask our AI.

pwgen

Pwgen is a command line tool primarily used for generating random passwords. The name "pwgen" is derived from "password generator". It is designed to create strong and secure passwords that are difficult to guess or crack. Pwgen allows customization of password length, quantity, and type of characters used. It can generate passwords containing uppercase letters, lowercase letters, digits, and special characters. The default password length generated by pwgen is 12 characters. Pwgen uses a cryptographically secure random number generator to generate passwords. In addition to single passwords, it can generate a list of passwords as per user-defined specifications. Pwgen also has options to exclude ambiguous characters that might be easily confused, such as "l" and "1", "O" and "0", etc. The generated passwords can be copied to the clipboard or saved to a file for easier use and storage.

List of commands for pwgen:

  • pwgen:tldr:20ba1 pwgen: Generate secure, hard-to-memorize passwords.
    $ pwgen -s ${length}
    try on your machine
    explain this command
  • pwgen:tldr:a1a8a pwgen: Generate password with at least one capital letter in them.
    $ pwgen -c ${length}
    try on your machine
    explain this command
  • pwgen:tldr:b3c21 pwgen: Generate random password with s[y]mbols.
    $ pwgen -y ${length}
    try on your machine
    explain this command
tool overview