This course teaches the Solaris 10 professional (user, systems
administrator, application/system programmer) the techniques
needed to develop advanced shell and reporting type procedures
under Solaris 10. Techniques in the major shells will be shown.
All Solaris 10 platforms support the techniques in this course.
Solaris Training Prerequisites
This is an advanced Solaris 10 course. It is assumed that participants
either have attended the Fundamentals of Solaris 10
course, or have equivalent experience with a Solaris 10 system.
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 Solaris 10, awk, nawk, and
Korn shell commands to maintain collections of files, control
usage of shell command scripts, and generate reports using the
(n)awk facility.
Solaris Training Course outline
Basics of Shell Scripting
Types of shell scripts
driver
complex
Available shells in Solaris 10
Developing a template
Adding documentation to shell scripts
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 and floating point variables
the select construct (for menus)
using and defining functions
accessing files' records using pipes
handling signals with trap
defining and using indexed arrays
Writing Advanced Korn Shell Scripts
defining and using active variables
nameref variables (references)
defining and using associative arrays
accessing files' records directly with exec
special parameter/variable substitutions
Korn shell parent / co-process communications
adding option processing in shell scripts
accessing socket level TCP/IP connections
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
Please contact your training representative for more details on having this course delivered onsite or online