Bash scripting is your gateway to the world of automation and efficient task management in the Unix/Linux environment....
BASH Articles
Creating a config file and using it in tandem with your scripts
In this article, we are going to create a config file and use it in our shell script. Prerequisites Besides having a...
Calculating and reducing the runtime of a script
In this article, we are going to learn how to calculate and reduce the script’s runtime. A simple time command...
Write a bash script to running a program continuously (forever) using looping constructs or recursion
This is great for single use scripts, but what about if we wanted to have scripts execute multiple scripts through a...
Write a bash script to generating datasets and random files of various size
Usually, data that mimics real-world data is always the best, but sometimes we need an assortment of files of various...
Write a bash script to joining and splitting files at arbitrary positions
Let’s not be shy! Who has tried to open a large file by accident or even intentionally with an application and it...
Write a bash/shell script to Finding and deleting duplicate files or directories
At one point, we had already talked about checking to see if strings inside of a file were unique and if we could sort...
Write Linux bash/shell script to Crawl filesystem directories and printing a tree
We need an overview of the directory or system’s file structure to view all files in a single place to examine those...
How to Create a diff of two files and patching
In several situations or cases, we need to identify the differences between files and patch them, especially when...
Searching for files by name and/or extension in Linux Operating System
When we have many files available for viewing, sometimes we need to find a file among many without using the GUI...
How to Include Bash Script in other Bash Script
As we know the bash script is very very important for System Administrator. They are performing lots of tasks using...