Fundamentals of Unix
Shell Programming and Report Generation (Supporting Platforms: HP-UX)
HP-UX Training Overview
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.
HP-UX Training Prerequisites
This is an advanced Unix course. It is assumed that participants
either have attended the Fundamentals of Unix (Basics)
course, or have equivalent experience with a Unix system.
HP-UX Training Course duration
This course normally requires three (3) days, approximately 50 %
lecture, and 50 % lab time.
HP-UX Training Course Objectives
Each student will be able to use Unix, 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.
HP-UX Training Course outline
Common Features of Shell Scripting
Common Shell environment variables
User-defined variables
Substitution of variables
Looping statement constructs
Decision statements
Command substitution in variables
Using export and expr
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
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