Learn About Functions in Linux Shell Scripting
There will be cases wherein your need to execute a block of code that achieves a specific procedure several times in different places in...
How to Automate FTP transfers in Linux Shell Scripting
Whether you are responsible for uploading files regularly to a remote web server, or syncing configuration files among a number of machines, most of...
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...
Learn The Concept Of Until Loop in Linux Shell Scripting
In the last two articles, we have talked about the first two types of Loops: the for loop, and the while loop. Now, we...
Learn More about Effective One-Liners in Linux Shell Scripting
In the previous article, we had a talk on One-Liners. We have seen how a composite statement that is as short as fitting in...
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 Linux Shell Scripts for Network – Part 2
In this article, we are going to complete what we have started in part1.
The host command
This command is used to convert names to IP...
Learn Validating User Input in Linux Shell Scripting
When a script gets one or more inputs from the user, most of the time it expects the following:
A specific number inputs.
Inputs of specific...
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...
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...