UN21 Unix Korn Shell Scripting |
|
Length/Format |
2 days
Lecture, discussion, demos and hands-on labs
|
Description |
This course prepares the
student for developing shell scripts using the UNIX Korn
shell command processor. The Korn shell is an significant
extension to the traditional Bourne shell and incorporates
most C shell features. This course presents the new
interactive environment and productivity features in
addition to script programming facilties.
|
Audience |
This course is intended for
all users familiar with UNIX fundamentals who need to
develop Shell scripts. Some familiarity with programming
concepts is required. It is particularly recommended for
technical developers when combined with "UNIX OS System
Fundamentals". This combination can be presented in 5 days.
Also available: KORN Shell Overview - 1 day
|
Key Topics |
MANAGING PROCESSES -
Spawning Processes; Foreground Pipes, Sequence/Group:
Background Submit, Display, Signals ps/kill; BSD Job
Control: Periodic Processes at/cron
ADVANCED SHELL FACILITIES -
Redirection, Overrides; Command Aliasing, Functions; KSH
Command History, Setup, Recall/Edit Modes; Shell Variables,
export, Options, Working Environment
SHELL SCRIPT FUNDAMENTALS -
Creating Script Files, Invocation/Debug Modes, Cmdline
Evaluation; Shell IO, Formatting Output typeset, Reading
Kybd input, Prompting, HERE text
CONDITIONAL EXPRESSIONS AND ARITHMETIC -
If Syntax, Conditional Operators num/str/file, Case
Statement; Shell Arithmetic, expr/let/integer Expressions,
Operators
LOOPING AND PARAMETER PASSING -
while/until Loops, Conditions; for Loops, shift, Lists; Loop
Flow break/continue; Cmdline Parms, Access, Parsing
ADVANCED SCRIPT FACILITIES -
Menu Processing select, Special Vars; Array Processing,
Access, Numerics; Interrupt Traps, Setting/Execution;
Special Variable Substitution: SubShell Environments,
Variable Scoping, export; String Manipulation
|
|
|