This course teaches attendees how to use the
Bourneshell to design and develop command language
programs. Topics include an overview of the shell and
it's functions, command line processing, control constructs (for,
while, case, etc.), conditional branching, quoting, positional
parameters, command substitution, pipelines, use of built-in
shell commands, functions, sub-shells, signals, traps, shell
programming efficiencies, and debugging. This course is
applicable to all releases of UNIX which have the
Bourne shell.
Course Objectives
Upon completion of this course the attendee will be able to:
state how the shell functions as a user interface and command line interpreter;
modify built-in shell variables and create and use user-defined shell variables;
use I/O redirection, pipes, quoting, and filename expansion mechanisms;
create structured shell programs which accept and use positional parameters and exported variables;
use the shell flow control and conditional branching constructs (while, for, case, if, etc.);
create shell programs which process interrupts, pass signals, invoke subshells and functions, and trap signals;
use shell debugging mechanisms to improve shell program efficiency and detect and correct errors.
Course Materials
UNIX Bourne Shell Programming Student Guide and course notes.