Scripting provides capability to ease the manual task with efficiency and error-less. It is the backbone of Automation we do day by day.
SHELL scripting is the native scripting language of Linux/Unix based systems. It helps to automate the system operational and administrative works. As it’s native to Linux/Unix OS, it’s very easy to learn and automate the monotonous/repetitive activity/process.

Below are the course contents we are going to train you on:

Introduction

  • What is SHELL
  • Types of SHELL (SH/BASH/CHS/TCSH/KSH)
  • SHELL features
  • What forms script
  • Scope and advantage of SHELL Script
  • Bash environment set up

Writing and debugging scripts

  • Creating and running scripts
  • Debugging scripts

Building blocks of scripting

  • Special characters/Parameters
  • Regular Expressions
  • Variables (Definition and Types)
  • Initializing variables
  • Operators (Arithmetic/Relational/String/Boolean/File Test)
  • Arithmetic and Logical operations
  • Calculation using bc (Bash Calculator)
  • Input/Output Redirection in Shell
  • Various commands `

Conditional statements

  • Simple if/else statements
  • Nested if/else statements
  • Practical examples of conditional statements

Repetitive tasks using Loops

  • The FOR loop
  • The WHILE loop
  • The UNTIL loop
  • Break and continue
  • Practical examples of loops

The Case statements

  • Usage of case statement
  • How to write case statements
  • Practical examples of case statements

Functions

  • What is function
  • Why function needed
  • How to write functions
  • Calling functions
  • Passing variables in functions
  • Practical examples of functions

Catching signals and Traps

  • What is signals and Traps
  • Why signals/traps needed
  • How to catch signal/trap
  • Use cases scenarios

Writing interactive scripts

  • When interactive scripts needed
  • How to write interactive script

Advance Script

  • Inclusion of AWK in SHELL script
  • Inclusion of SED in SHELL script

Interview Preparations/Q&A