Shell Programming for Unix Administration

Course Code:
Length:
Audience:
- This course is designed for system administrators who have had at least one year
programming experience with a high-level language and a good knowledge of the UNIX System
tools, and those who need to know not only facilities of the shell, but also how the shell
works in the UNIX System environment and how to use the shell to automate the system
administration tasks.
Prerequisites:
- Students need a minimum one year active programming experience on a UNIX Operating
System including use of a UNIX System text editor.
Course Description:
- This course describes the UNIX System shells and how they functions to system
administrators. Subjects include a description of the shells and how they work, shell
processes, variables, keyword and positional parameters, control structures (conditional
execution and looping), special substitutions, pipelines, debugging IDs, error/interrupt
processing, shell command line, built-in statements, and shell programming efficiency.
Programming constructs and user interface elements of the Bourne and Korn shells are
included, as well as an overview of C shell syntax and constructs.
Key Topics:
- Actions of the UNIX System shell in processing shell procedures and compiled programs
- Creating shell procedures to modify a user's operating environment
- Assigning values to and accessing the contents of the shell variables
- Passing information to a shell program using positional parameters and exported
variables
- Using command substitution
- Removing special meanings from characters using quoting
- Using flow control constructs (if, case, while, until, for, select)
- Using debugging aids to test and evaluate shell procedures
- Order of evaluation of the shell command line
- Using redirection to alter input to or output from a command
- Using pipelines in shell procedures
- Writing efficient and maintainable shell procedures
[Include/navbartxt.htm]