Shell
Scripting Course is specifically designed to develop skills required for
automation on Unix / Linux Environment. This course focuses on the basic and
intermediate level of Scripting. It provides training with hands on session to
administer the UNIX shell.
Suitable for:
-
Linux
Administrators
-
UNIX
programmers
-
Database (Oracle/Sybase)developers working on UNIX platforms
-
Database (Oracle/Sybase)Administrators
Prerequisites :
-
Knowledge in Unix / Linux Platform
-
Basic
Knowledge in Shell Commands
-
Any
Programming language
Course
Contents:
o User defined variables
o How to assign value to a variable
o Rules for Naming variable name
o How to access the value of variable
o Variables are not declared
o How to capture output of a command in a variable
o Arithmetic on variables
-
Writing
and debugging scripts
o Creating
and running a script
o Script
basics
o Debugging
Bash scripts
o Shell
initialization files
o Variables
o Quoting
characters
o Shell
expansion
o Aliases
o More Bash
options
-
Regular
expression
-
Regular
expression
-
Examples using grep
-
Pattern
matching using Bash features
-
Important Shell Utilities
o cut
o sed, tr
o find
o sort
o grep,
egrep, fgrep
o awk
o Introduction
to “if”
o More
advanced “if” usage
o Using
case statements
-
Writing
interactive scripts
o Displaying
user messages
o Catching
user input
· The for
loop
· The while
loop
· The until
loop
· I/O
redirection and loops
· Break and
continue
· Making
menus with the select built –in
· The shift
built in
o Types of
variables
o Array
variables
o Operation
on variables
o Introduction
o Examples
of function in scripts
o Passing
arguments to functions
o Scope of
variable in functions - local & global
o Signals
o Traps
|