Generating password from command line using pwgen

In some occasions we need to generate new password, salt, …etc for our apps. Today I found the pwgen tool which is very easy to use. It’s easy to install on Ubuntu sytem:

sudo apt install pwgen

For example, this is how to generate a 32 digit random password.

pwgen -s 32 1

Leave a ReplyCancel reply