---

8 ways to generate random password in Linux

In this article, we will walk you through various different ways to generate random password in Linux terminal. Few of them are using native Linux commands and others are using third party tools or utilities which can easily be installed on Linux machine. Here we are looking at native commands like openssl, dd, md5sum, tr, urandom and third party tools like mkpasswd, randpw, pwgen, spw, gpg, xkcdpass, diceware, revelation, keepaasx, passwordmaker.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis