The C shell is the optional user interface
on Berkeley UNIX systems and implements features such as
job control, command line editing, aliases, and additional built
in commands not found in the standard Bourne shell. Topics
include an overview of the C Shell and it's functions,
control constructs (foreach, while, switch, etc.), conditional
branching, quoting, positional parameters, command substitution,
pipelines, use of built-in shell commands, job control, history
and alias mechanisms, sub-shells, shell programming efficiencies,
and debugging. After completion of this course the attendee will
be able to use the C Shell to design and develop complex
command language programs.
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;
execute commands using foreground and background processing;
modify built-in shell variables and create and use user-defined shell variables;
use I/O redirection, pipes, quoting, and file name 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, foreach, switch, if, etc.);
state the order in which command line arguments are evaluated;
use shell debugging mechanisms to improve shell program efficiency and detect and correct errors.
Course Materials
UNIX C Shell Programming Student Guide and course notes.
Prerequisites
UX001 - Fundamentals of UNIX, UX021 - Fundamentals of AIX, or equivalent experience using UNIX.