RSS

A Begginer’s guide to shell scripting

11 Jun

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

techarena51.com

Advertisements
 
Leave a comment

Posted by on June 11, 2014 in Centos, Fedora, Linux, Shell Scripting, Ubuntu

 

Tags:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: