Learn the use of Command-Line Arguments in Linux Shell Scripting
So far, we have used the read command to get input from the user. Command-Line Arguments is another way that allows the user to...
Learn about Arithmetic Operators in Linux Shell Scripting
Variables would be completely useless if we didn't have operations to be done with them.
But, fortunately, we do have.
The Linux Shell has rich list...
Generate Random Passwords in Shell Scripting via Character Array Method
In the previous article, we have learned how to generate random passwords using two methods:
1. The mkpasswd command.
2. Calculating the Hash for a random...
Learn the concept of While Loop in Linux Shell Scripting
After talking about the for loop, it is time to discuss the second type of loops: the while loop. Unlike the for loop, the...
Learn to Generate Random Data and Password in Linux Shell Scripting
After learning how to generate random numbers, we are going to learn how to generate random data, and random passwords. Some of the concepts...
Learn Decision Making using if conditions in Linux Shell Scripting
In the last article “Test Conditions”, we have learned how to create test statements that check for many various conditions. We have learned how...
Learn about Crontab and at job in Linux Shell Scripting
How many times have you found yourself doing a repetitive task at a specific time? Do you remember when you found that the database...
Mastering Tools in Linux Shell Scripting
In the previous article, we had an introduction to Shell Scripting. To write good shell scripts, a Linux admin should have in hand all...
Learn the concept of For Loop in Linux Shell Scripting
There will be cases wherein you need to repeatedly execute a block of code. Such repeated execution of portions of your code is done...
Learn about Netcat: your network Swiss knife in Shell Scripting
Do you want to test connectivity to your mail server on port 25? Do you want to make a quick port scan? Perhaps you...