Shell Scripting Course Content

Introduction to Shell Scripting

  • Basics of Shell
  • Displaying – using echo
  • Using Expr
  • Using Test
  • Getting input – using read
  • Header file of shell script – using Shabang (#!)
  • Real time Shell script

Editors

  • Vi Editor

Command Substitution

  • Assigning a command to a variable
  • Storing output to a variable
  • Assigning global value – using Export

Command Line Arguments

  • Passing input in runtime.
  • Using input inside a program

Conditional & Looping Statement

  • Using if statement
  • Using if –else statement
  • Using Nested if statement
  • Using ‘While’ Loop
  • Using ‘Until’ Loop
  • Using ‘For’ Loop
  • Using CASE

Functions

  • Creating a function
  • Calling a function in file
  • Calling a function in another file

Advanced Filters

  • SED
  • Usage of sed in scripts

AWK

  • Basics of AWK
  • Using awk in Shell script

Job Scheduling

  • Scheduling a job Crontab

Performance monitoring

Real time Script Analysis