Generate random password in linux terminal

Password are valuable one. It’s a most used one in our daily life. So Password must be complicated and more tough to guess. Now let’s see How to generate random password in Linux terminal..

Generate random password in Linux terminal

Open your terminal:

And enter this command :

And Press Enter.

generate random password in linux terminal

 

Now Copy the below code and paste in the end of the bashrc file in which you have opened.

Save and close the file.

generate random password in linux terminal

 

[myinlink sub=”Basic Linux Command you should know” link=”http://webcheerz.com/basic-linux-commands/”]Click Here to Read[/myinlink] Now enter this command:
[gads] To generate random password, enter this command:
generate random password in linux terminal

To generate 8 character long random password, enter this command :

generate random password in Linux terminal

Was this article helpful?

Thanks

Thanks for your Feeback. It will helps us to improve our Article quality