Shell Scripting – Checking Conditions with if

Posted by & filed under .

In Bourne Shell if statement checks whether a condition is true or not. If so , the shell executes the block of code associated with the if statement. If the statement is not true , the shell jumps beyond the end of the if statement block & Continues on. Syntax of if Statement : if […]

How to use variables in shell Scripting

Posted by & filed under .

In every programming language variables plays an important role , in Linux shell scripting we are using two types of variables : System Defined Variables & User Defined Variables. A variable in a shell script is a means of referencing a numeric or character value. And unlike formal programming languages, a shell script doesn't require […]

Introduction To Shell Scripting Basics

Posted by & filed under .

What is a Shell A shell is an interpreter in UNIX like Operating system. It takes commands typed by the user and calls the operating system to run those commands. In simple terms a shell acts as form of wrapper around the OS. For example , you may use the shell to enter a command […]