WA1014 Shell Programming 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 |
|