Course Name:Adv Unix Shell Scripting
Course Duration:25hrs
Fees:10,000
Course Topics:
A Quick refresher on UNIX Basic Commands
THE vi EDITOR
vi Basics
Input Mode-Entering and Replacing Text
Saving Test and Quitting-The ex Mode
Navigation
Editing Text
Undoing Last Editing Instructions (u and u)
Repeating the Last Command (.)
Searching for a Pattern (/ and ?)
Substitution-Search and Replace
Searching for a Character
Marking Text & Customizing vi
PIPES & FILTERS
The Sample Database
pr: Paginating Files
head: Displaying the Beginning of a File
tail: Displaying the End of a File
cut: Slitting a File Vertically
paste: Pasting Files
sort: Ordering a File
uniq: Locate Repeated and Nonrepeated Lines
tr: Translating characters
An example: Displaying a Word-count List
FILTERS USING REGULAR EXPRESSIONS - grep
grep: Searching for a Pattern
Basic Regular Expressions (BRE)-An Introduction
Extended Regular Expressions (ERE) and egrep
THE PROCESS
Process Basics
ps: Process Status
System Processes (-e or -a)
Internal and External commands
Process States and Zombies
Running Jobs in Background
nice: Job execution with Low Priority
Killing Processes with Signals
Job Control
HANDS-ON
THE SHELL
The Shell's Interprective Cycle
Shell Offerings
Shell Variables
Pattern Matchings-The Wild-cards
Escaping and Quoting
Redirection: The Three Standard Files
/dev/null and /dev/tty: Two Special Files
CUSTOMIZING THE ENVIRONMENT
The Shells
Environment Variables
The Common Environment Variables
Aliases (bash and ksh)
Command History (bash and ksh)
In-line Command Editing (bash and ksh)
Miscellaneous Features (bash and ksh)
The Initialization Scripts
SHELL PROGRAMMING � PART I
Shell Scripts
read: Making Scripts Interactive
Using Command Line Arguments
exit and Exit Status of Command
The Logical Operators && and ||- Conditional Execution
The if Conditional
Using test and [] to Evaluate Expressions
The case Conditional
expr: Computation and String Handling
HANDS-ON
while: Looping
for: Looping with a List
set and shift: Manipulating the Positional Parameters
The Here Document (<<)
trap: Interrupting a program
Debugging Shell Scripts with set -x
Sample Validation and Data Entry Scripts
SHELL PROGRAMMING � PART II (Advanced)
Shells and Sub-shells
() and {}: Sub-shell 0r Current Shell?
export: Exporting Shell Variables
Running a Script in the Current Shell: The . Command
let: Computation-a Second Look (Korn and Bash)
Arrays (Korn and Bash)
String Handling (Korn and Bash)
Conditional Parameter Substitution
Merging Streams
Shell Functions
eval: Evaluating Twice
The exec Statement
HANDS-ON
Fourth 5 hrs
Understanding Basic Operations
Awk, by sed and Grep, out of Ed
Command-Line Syntax
Using sed
Using awk
Using sed and awk together
Writing sed Scripts
Applying commands in a Script
A global perspective on Addressing
Testing and Saving Output
Four types of sed scripts
Basic sed Commands
About the syntax of sed Commands
Comment
Substitution
Delete
Append, Insert and Change
List
Transform
Print
Print Line number
Reading and Writing files
Quit
Writing Scripts for awk
Awk�s programming Model
Pattern matching
Records and fields
Expressions
System variables
Relational and Boolean operators
Formatted printing
Passing parameters into a script
Information retrieval
Functions
Arithmetic functions
String functions
The getline function
The system () function
Debugging