Loops Loops are very useful for automating repetitive tasks. when you want to run a series of commands repeatedly until a certain condition is reached. Type of loops: Simple For loop Range-based for loop C-Styled for loops Infinite for loop Simple For Loop: for var in word1 word2 … wordN do Statement(s) to be executed […]
Array Array is a data structure consist multiple elements based on key pair basis and the element is accessible via a key index number. Unlike most of the programming languages, Bash array elements don’t have to be of the same data type. You can create an array that contains both strings and numbers. How to […]
Variables A symbolic name for a chunk of memory to which we can assign values, read and manipulate its contents. A variable in bash can contain a number, a character, a string of characters. Variable in Bash dose not have data types. You have no need to declare a variable, just assigning a value to […]
Input, Output and Error Redirections Based on the concept of ANSI, input/output streams called standard output and standard input, everything that runs in a shell can communicate in three ways – it can receive inputs from standard input, it can output results and information to standard output, and it can report errors to a separate […]
This Bash scipting tutorial is designed for beginners and Intermediate levels. You will learn all of concepts that we may face in Bash Scripting. Also, we will provide an advanced course for administrators and specialists who wants to learn Bash Scripting for working with specific fields like Linux Administration and cisco automation etc. Before learning […]