Shell scripts are one of the easiest programming languages to learn. They are a Linux administrators best friend and you can use them to automate tasks like a server backup or even just to email you the IP address of your Raspberry Pi server on boot.
In this post we will see how to write a simple shell script and then proceed to some intermediate shell scripting examples.
Before we start, I recommend you install “VIM”, a file editor, via yum .
Let’s get started with a simple script to tell us the disk usage in the current directory