|
Home > Training >
Unix
>
|
WA1014 Shell Programming Training and Courseware
|
|
Students learn to read, write, and debug shell scripts, thus increasing productivity by taking full advantage of the UNIX shell. |
|
|
|
| Topics |
| |
- Shells and Shell Scripts
- The Shell Enviornment
- Functions
- Useful Tools
- Conditionals
- Loops
- The SED Editor
- AWK
|
|
| Audience |
| |
UNIX users, programmers, and system administrators. |
|
| Prerequisites |
| |
Fundamentals of UNIX. |
|
| Suggested Supplemental Reference |
| |
Learning the Korn Shell, O'Reilly & Assoc., ISBN 1565920546 |
|
| Duration |
| |
Three days. |
|
|
Course Outline
|
1. SHELLS AND SHELL SCRIPTS
|
|
|
- What is a Shell?
- What Does a Shell Do?
- Available Shells
- Shell Script Basics
- Child Processes - Subshells
|
|
|
|
2. THE SHELL ENVIRONMENT
|
|
|
- Startup Scripts
- Variables
- Local vs. Global Variables
- Special Reserved Variables
- Command Line Arguments
- The shift Statement
- Using set
- The read Statement
- Quoting Characters
- Command Substitution
- Quoting and Regular Expressions
- Tilde Expansion in the Korn Shell
|
|
|
|
3. FUNCTIONS
|
|
|
- Shell Functions
- Positional Parameters
- More on Functions
- Korn Shell Function Files
|
|
|
|
4. USEFUL TOOLS
|
|
|
- Command Punctuation
- The test Statement
- Variable Types
- Bourne Shell Arithmetic Operations
- Korn Shell Arithmetic Operations
- Korn Shell Arrays
- Debugging Shell Scripts
|
|
|
|
5. CONDITIONALS
|
|
|
- The if Statement
- Numeric and String Comparison
- if/then/else
- if/then/elif/else
- The case Statement
|
|
|
|
6. LOOPSs
|
|
|
- The while Loop
- The until Loop
- The for Loop
- break and continue
- The Korn Shell select Loop
- The PS3 System Variable
- Terminating the select Loop
- Submenus with the select Loop
|
|
|
|
7. THE SED EDITOR
|
|
|
- What is sed?
- sed Editing Commands
- Printing Text with sed
- Substituting Text with sed
- Deleting Text with sed
- Multiple Editing Commands with sed
- sed Script Files
- Reading Text in From a File
- Writing Output Files with sed
|
|
|
|
8. AWK
|
|
|
- awk Syntax
- Built-in awk Variables
- Printing with awk
- Pattern Searching with awk
- awk Scripts
- Additional Variable Use
|
|
|
|
9. Summary Slide
|
|
|
|
We regularly offer classes in these and other cities. Atlanta, Austin, Baltimore, Calgary, Chicago, Cleveland, Dallas, Denver, Detroit, Houston,
Jacksonville, Miami, Montreal, New York City, Orlando, Ottawa, Philadelphia, Phoenix, Pittsburgh, Seattle, Toronto, Vancouver, Washington DC.
|
|
 |
|
Buy on-site and customized class
Attend a public class
02/13/2012 -
Toronto
$2,275.00
Enroll
02/27/2012 -
Vancouver
$2,275.00
Enroll
03/05/2012 -
Ottawa
$2,275.00
Enroll
03/19/2012 -
Calgary
$2,275.00
Enroll
03/19/2012 -
Montreal
$2,275.00
Enroll
04/23/2012 -
Calgary
$2,275.00
Enroll
04/30/2012 -
Vancouver
$2,275.00
Enroll
04/30/2012 -
Ottawa
$2,275.00
Enroll
05/14/2012 -
Toronto
$2,275.00
Enroll
05/28/2012 -
Montreal
$2,275.00
Enroll
06/04/2012 -
Vancouver
$2,275.00
Enroll
06/04/2012 -
Montreal
$2,275.00
Enroll
06/18/2012 -
Ottawa
$2,275.00
Enroll
07/23/2012 -
Toronto
$2,275.00
Enroll
07/30/2012 -
Calgary
$2,275.00
Enroll
|
|