Solaris Training Overview
This course teaches the Solaris 11 professional (user, systems
administrator, application/system programmer) the techniques
needed to develop advanced shell and reporting type procedures
under Solaris 11. Techniques in the major shells will be shown.
All Solaris 11 platforms support the techniques in this course.
Solaris Training Prerequisites
This is an advanced Solaris 11 course. It is assumed that participants
either have attended the Solaris 11 Operating System Essentials
course, or have equivalent experience with a Solaris 11 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 11, awk, nawk, BASH
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
- Available shells in Solaris 11
- Developing a template
- Adding documentation to shell scripts
Writing Korn Shell Scripts
- BASH and 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
|