Virtual Training Company s Unix Shell Scripting Advanced tutorial is recommended for the more advanced user who has a working knowledge of basic UNIX Shell operation. This course describes how to create programs using the syntax and features of the UNIX Shell, focusing on the most popular-- the Bourne Shell. In this eight hour tutorial, author Mark Virtue will demonstrate techniques that will be compatible with all brands of UNIX, including LINUX. If you need a thorough understanding Unix Shell Scripting, start learning now by clicking on one of the movie links below.
IntroductionAbout this CourseCourse StructureWhat is the UNIX Shell?Which Shell?What is a Shell Script?Your First Shell ScriptA Basic ScriptThe echo CommandThe read CommandShell Basics RevisitedSpecial CharactersCommentsChapter ExercisesExercise SolutionsRunning a Shell ScriptRunning a Script on the Command-lineRunning a Script from within viYour PATH and binScript InterpretersCGI ScriptsShell Programming FeaturesShell Variables
Environment Variables
The Trouble with Quotes 1
The Trouble with Quotes 2
Grouping Commands
Line Control
Chapter Exercises
Exercise Solutions
Introducing the Course Project
Course Project Solution
Conditional CodeTrue and False
Conditional Command Execution
The if Statement
The else Clause
The elif Clause
Using test 1
Using test 2
Using test 3
The case Statement
Chapter Exercises
Exercise Solutions
LoopsThe while Loop
break and continue
Numerical Calculations
The for Loop
Chapter Exercises
Exercise Solutions
Text ProcessingAbout Filters
grep
Regular Expressions
sort
sed
awk 1
awk 2
Chapter Exercises
Exercise Solutions
FunctionsProgram Structure
Defining and Calling a Function
Function Parameters
Function Return Values
Functions in Other Files
Case Study: The yesno Function
Chapter Exercises
Exercise Solutions
Command-line ParametersUsing Command-line Parameters
Using shift
Using set --
Using IFS
Usage Messages
Chapter Exercises
Exercise Solutions
Advanced ScriptingDebugging
Default Values for Variables
Temporary Files
Preventing Abnormal Termination
Chapter Exercises
Exercise Solutions
The End
Click here to find out more about the Unix Shell Scripting Advanced Training CD