Korn Shell Programming

AIX Training Overview

This course teaches the IBM AIX 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.

AIX Training Prerequisites

This is an advanced Unix course. It is assumed that participants either have attended the Introduction to Unix (IBM AIX) course, or have equivalent experience with a Unix system.

AIX Training Course duration

This course normally requires two (2) days, approximately 50 % lecture, and 50 % lab time.

AIX Training Course Objectives

Each participant will be able to use Korn shell commands and programming features to maintain collections of files, control usage of shell command scripts, and generate reports.

AIX Training Course outline

Writing Korn Shell Scripts

    Reasons for writing shell scripts
    Layout of a Korn Shell script
    Developing a template for Korn Shell scripts
    Methods of executing a shell script
    Korn Shell environment variables
    User-defined variables
    Substitution of variables
    Command substitution in variables
    Tracing / Debugging Korn shell scripts
    Decision statements
    Looping statement constructs
    typesetting variables for output
    typesetting integer variables
    the select construct (for menus)
    Using and defining functions
    Implementing co-processes in scripts
    Direct file I/O techniques built into the Korn Shell
    Special I/O techniques in scripts
    Defining and using arrays

Using new versions of the Korn shell

    availability and versions
    new interactive features
    new scripting capabilities
    deploying a new version of the Korn shell



Wintrac Inc.
16523 SW McGwire Ct.
Beaverton OR 97007
© Wintrac, Inc. All rights reserved.                                                                               Site Map   |   Terms of Use   |   Privacy Policy