Shell Scripting Tutorial: Shell script Arithmetic Operations
In this chapter we shall look at how to perform various arithmetic operations. Arithmetic addition. Simple way to add two numbers is given…
Shell Scripting Tutorial: Shell Script case, break and continue statements
Case Statement: case statement is used when there is multiple case of if-else statements. Syntax: case <expression> in pattern_1 )…
Shell Scripting Tutorial: Shell Script Looping Statements
If there is a need to execute set of statements repeatedly, then we need to use looping statements. Below are the list of statements supported…
Shell Scripting Tutorial: Shell Script Conditional Statements
While writing a program, there exists a situation where we need to execute a set of statements based on some conditions. In this situation we…
Shell Scripting Tutorial: Special Operators
In this chapter we shall know about some special operators, which makes shell script powerful while writing and executing the scripts. 4.1.…
Shell Scripting Tutorial: Shell Script reading from user input and passing arguments to bash script.
To read an input from the user, use the “read” command. The read command will take the input from the user and assigns to a…
Shell Scripting Tutorial: Shell Script Variables
In shell script there is no need to declare a variable before using it. A variable is a name given to memory location, which is used to store…
Shell Scripting Tutorial: Introduction to shell script
In this introduction chapter, we shall look at below topics 1.1 Now what is a shell script? 1.2 what are the uses of shell script? 1.3 How to…
C++ 11 feature: Initializer Lists and Static Assertions
In this chapter we shall study 2 new concepts of C++. 1. Initializer List 2. Static Assertions 1. Initializer List It is used to initialize…