Shell Scripting


UNIX Basics and Shell Scripting

UNIX is a multitasking, multi-user computer operating system that exists in many variants. UNIX is the oldest and most secure operating system architecture present today. Linux/Unix is still used today in a lot of servers. Almost 80% of the websites are running on UNIX servers.

Shell Scripting Introduction

Unix uses shells to accept commands given by the user, there are quite a few different shells available. The most commonly used shells are SH(Bourne SHell) CSH(C SHell) and KSH(Korn SHell), most of the other shells you encounter will be variants of these shells and will share the same syntax, KSH is based on SH and so is BASH(Bourne again shell). TCSH(Extended C SHell) is based on CSH.

The various shells all have built in functions which allow for the creation of shell scripts, that is, the stringing together of shell commands and constructs to automate what can be automated in order to make life easier for the user.


Application programmers, automation engineer, testers, system
administrators, and UNIX power users.

Prerequisites: Computers background

Duration of training : 3 weekends

Course Content

Day 1 – Fundamental of UNIX
UNIX Fundamentals
Understanding the variants of UNIX
UNIX architecture
UNIX file systems
UNIX file types
Basic commands
Environment variables
Basic of editor: vi
Day 2 – Shell introduction
Shell Introduction
Different types of shell
What is Shell Scripting?
Shell scripting execution
Variables and Parameters
Control flow statements
Control Loops
Day 3 – Advance Shell Scripting
Special variables in shell scripting
Function Introduction
Input/output redirection
Variables substitution
sed, grep, find utilities
Day 4 – Advance Shell Scripting-2
Schedule scripts: Crontab and at command
Compress the BIG files
Backend and Frontend processes
Make the script nohup’d
AWK utility
Trap Signals in scripts


Online Training Courses Online Training Courses