This course teaches the Unix computer professional (user, systems
administrator, application/system programmer) the techniques
needed to develop advanced shell and reporting type procedures
under Unix. Techniques in the major shells will be shown. Note that
all Unix systems support all of the techniques in this course.
Solaris Training Prerequisites
This is an advanced Unix course. It is assumed that participants
either have attended the Fundamentals course for Sun Solaris, IBM
AIX, or Solaris, or have equivalent system time and experience with
the interactive shell(s).
Solaris Training Course duration
This course normally requires three (3) days, approximately 50 %
lecture, and 50 % lab time.
Solaris Training Course Objectives
Each participant will be able to use Unix shell (common features, Korn
(ksh 88 and ksh 93) commands to maintain collections of files, control
usage of shell command scripts, and generate reports using the
awk facility.
Solaris Training Course outline
Shell Scripting Common Features
Shell environment variables
User-defined variables
Substitution of variables
Looping statement constructs
Decision statements
Command substitution in variables
Using eval
Handling signals with trap
Writing Korn Shell Scripts
Korn Shell environment variables
User-defined variables
Substitution of variables
Command substitution in variables
Decision statements
Looping statement constructs
typesetting variables for output
typesetting integer variables
the select construct (for menus)
using and defining functions
accessing files' records using pipes
accessing files' records directly with exec
special parameter/variable substitutions
Korn shell parent-child process communications
defining and using arrays
Advanced Features in Korn Shell Scripts
Options processing
active variables and tied functions
associative arrays
creating and using name reference variables
techniques comparison to Perl
Using the awk Utility to Generate Reports
awk utility calling techniques
Patterns and actions
Using the BEGIN and END patterns
Using awk built-in variables
Procedure-defined variables in awk
Formatted output using printf
if and for constructs
Re-direction of awk input and output
defining and using arrays
obtaining command line arguments with awk
special awk signature lines
Please contact your training representative for more details on having this course delivered onsite or online