Shell Scripting

Course Overview

Shell Scripting

A bash script is a series of commands written in a file. These are read and executed by the bash program. The program executes line by line. For example, you can navigate to a certain path, create a folder and spawn a process inside it using the command line.

LOOKING FOR EXPERTISE IN SHELL SCRIPTING ?

Best Bash Shell Scripting Training in Kolkata

Reserve Your Seat Today

Prerequisites

  • Pre-Requisites Good understanding of the main commands and user application in Linux and the Linux system administration.

Course Outline

Bash Shell Script

  • Module 1: Introduction
    • Shells
    • Types of Unix Shells
    • Advantages of Shell Scripts
  • Module 2: Bash Basics
    • Initialization Files
    • Login Shells, Non-Login Shells
    • Aliases, Variables
    • Working with Variables
    • Important Internal Bash Variables
    • Command History
    • Input and Output Channels
    • Redirection to Files
    • The here Operator
    • Feeding Output to Another Process
    • Duplicating the Output with tee
    • Types of Commands
    • Quoting
    • Substitution and Expansion
    • Variable Substitution
    • Filename Expansion(File Globbing)
    • Command & Arithmetic Substitution
    • Command-Line Interpretation
    • Command Separators
  • Module 3: Basic Script Elements 1(Input,Output)
    • Program Flow Charts
    • General Considerations
    • Producing Output From a Script
    • Reading User Input
    • Simple Operation with Variables
    • Basic Strings Operation
    • Arithmetic Operations
    • Regular Expressions
  • Module 4: Basic Script Elements 2(Control Structures)
    • Simple Branching With if
    • Short Form of if
    • Multiple Branch with case
    • Iterations and Loops
    • Looping with while and until
    • Processing a List with for
    • Exiting From a Loops
    • Exiting from the Current Loop
    • Iteration with continue
    • Exiting from the Loop with break
  • Module 5: Advanced Scripting Techniques
    • Reading input with read
    • Shell Functions
  • Module 6: Useful utilities for Shell Scripts
    • Cat, cut, date, grep, egrep, sed, test, tr, awk
  • Module 7: Special Variable Substitution
    • Operators for Bash