
Signals and Traps
Signals : To understand this we are taking an example script : In the first line of the script we want to get the PID Read More
Signals : To understand this we are taking an example script : In the first line of the script we want to get the PID Read More
Using the read only command to make variables and functions readonly i.e. you cannot change the value of variables. Readonly command in Variables For example we Read More
Functions A Bash function is essentially a set of commands that can be called numerous times. The purpose of a function is to help you make your bash scripts more Read More
Break Statement : The break statement is used to exit the current loop before its normal execution. Let’s take an example, here we will use for loop Read More
loops Loops allow us to take a series of commands and keep re-running them until a particular situation is reached. Three types of loops are Read More
An array is a variable containing multiple values. Any variable may be used as an array. There is no maximum limit to the size of an array, nor any requirement that member variables be indexed Read More
Case statements are generally used to simplify conditional processing. They are used when you have multiple different choices or selections. The Bash case statement are Read More
1 . Arithmetic operations on Integers. To perform basic Arithmetic operations, first we will create a file, open in a text editor and then write Read More
Logical OR & AND operations are very useful where multiple conditions are used in our programs (scripts). Logical AND Operator We can understand it with an example. so lets Read More
Append output to the end of the text file Append means to add (something) in the end of a written document. Here we will learn Read More