Schedule today!

Call Peggy at
  (800) 252-0652

Contact Us


Related Courses

Fundamentals of Unix: Shell Programming and Report Generation

Recommended Duration:
3 Days
SUN Solaris (V7-V10), IBM AIX V4.3, 5L (V5.1 and V5.2), HP-UX (V11 and V11i), and SGI IRIX V6.5, Linux (Red Hat * SuSe)

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.

Each student will be able to use UNIX, awk, nawk, Bourne and Korn shell commands to maintain collections of files, control usage of shell command scripts, and generate reports using the (n)awk facility.

Developers, Programmers, and System Administrators needing to enhance their Unix skills.
This is an advanced Unix course. Participants must have Unix experience, or have completed the "Fundamentals of Unix: Basics" course (or equivalent).
Major Topics
  • Basics of Shell Script using the Bourne 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
    • 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 or 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
There are numerous hands-on machine exercises. All five Unix platforms will be available for lab exercises.