Pwgen: Random Password Generator Tool

Pwgen is a simple and powerful password generator that helps you create strong and random passwords using simple commands. It can generate secure passwords with letters, numbers, and special symbols. It is fast, easy to use, and lets you create multiple passwords in just a few seconds.

Hereโ€™s what you can do with Pwgen in Termux:

  • Generate strong random passwords.
  • Create multiple passwords at once.
  • Generate passwords with special symbols.
  • Customize password length.
  • Save passwords to a file.
  • Learn password security basics.

Install Pwgen in Termux

Below are the commands to install Pwgen in Termux. Copy and run each command one by one to install the tool.

Update Termux packages.

pkg update && pkg upgrade -y

Install Pwgen.

pkg install pwgen -y

Check the installed version.

pwgen --version

Pwgen is now installed and ready to use.

Use Pwgen in Termux

After installing Pwgen in Termux, you can use the following commands to generate passwords with different options.

Display the help menu.

pwgen --help

Generate one password.

pwgen

Generate five passwords with 12 characters.

pwgen 12 5

Generate passwords with at least one capital letter.

pwgen -c 12 5

Generate passwords without capital letters.

pwgen -A 12 5

Generate passwords with at least one number.

pwgen -n 12 5

Generate passwords without numbers.

pwgen -0 12 5

Generate passwords with special symbols.

pwgen -y 12 5

Generate completely random passwords.

pwgen -s 16 5

Generate passwords without vowels.

pwgen -v 12 5

Generate passwords without ambiguous characters.

pwgen -B 12 5

Save generated passwords to a file.

pwgen 12 10 > passwords.txt

View the saved passwords.

cat passwords.txt

By default, the saved password file will be created in your current directory. You can use the ls command to see the file.

Note: Use > passwords.txt after the pwgen command to save the generated passwords to a text file. You can also change the file name, for example: pwgen > wordlist33.txt.

End Note

Pwgen is a simple and useful tool for generating strong and random passwords in Termux. It is easy to use, works quickly, and provides different options to create secure passwords for different needs.

SHARE THIS POST: