Create a password generator using shell scripting
Creating a strong password is often a time-consuming task and even after creating a good password by yourself it gets brute-forced by hackers. In this article, we will learn how to create a strong password which fulfills all requirements including symbols, capitals length etc using a simple shell script in Linux.
How to create a password generator using shell script ?
This a simple short and quick method, just open the nano editor with
.sh file using this command –
You can use any name of the file.
"Welcome to simple password generator"
"please enter the length of the password"
Save the file and give executable permission using
sudo chmod +x command and run the script.
Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses
are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!