Hands On

Hands On Training

This course includes practical application of the subjects covered.

Curriculum Unix
Course Code ASPR
Duration 2 Days
Price $1,370
Booking Book Now Request Info

Course Description

This course is designed to give delegates practical experience in developing and writing AIX shell scripts. Most of the built-in shell commands are introduced together with the main program control structures. This course is not suitable for C shell programmers.

The delegates will practise:

  • Writing simple scripts to enhance basic command output
  • Using the various shell quoting mechanisms appropriately
  • Manipulating shell variables and user-defined variables in scripts
  • Implementing conditional execution facilities
  • Using the shell's built-in loop constructs where appropriate
  • Writing scripts to trap user interrupts
  • Developing menu-driven shell scripts

Course Modules

AIX Command Review (6 topics)

  • Basic Unix commands
  • General commands
  • File and directory handling commands
  • Filename generation characters
  • I/O Redirection features
  • Other commands

Getting Started (5 topics)

  • What is a shell script?
  • Development guidelines
  • Creating and editing shell scripts
  • Naming and storing shell scripts
  • Executing shell scripts

Using Variables (7 topics)

  • Environment variables
  • Local variables
  • Assigning values to variables
  • Assessing variable values
  • Using quotes
  • Delimiting variable names
  • Echo control sequences

Integer Arithmetic (2 topics)

  • Using the expr command
  • Using the (( )) notation

Handling Run Time Data (2 topics)

  • The read command
  • Command line arguments

Condition Execution (5 topics)

  • The if statement
  • The test command
  • Other test notations
  • Default and substitute variables
  • Exit status codes

Loop Constructs (5 topics)

  • The while loop
  • The until loop
  • The for loop
  • The while true and until false loops
  • Loop control commands

Multi-branch Decisions (2 topics)

  • The case statement
  • Menu driven applications

Functions (3 topics)

  • What is a function?
  • Syntax
  • Examples

Interrupt Handling (2 topics)

  • Interrupt signals
  • Trapping interrupts

Additional Features and Facilities (5 topics)

  • The exec commands
  • The includes notation
  • More about loops
  • Arrays
  • Here Documents

Prerequisites

The course assumes knowledge of the AIX Operating System to the level covered in the AIX Basics Course. Some programming experience may also prove advantageous.

Additional Learning

The courses below may help you meet the knowledge level required to take this course. If you are unsure please ask a training advisor

  • AIX Basics

    A 3-day Training Course on AIX Basics; Gain a practical knowledge of the AIX Operating System, the command structures and the editor facilities.

    course code AB 19 Classroom dates 6 locations

Course Dates

CodeLocationDurationPrice Apr May Jun Jul Aug Sep
ASPR 2 days $1,370
ASPR 2 days $1,370
ASPR 2 days $1,370
ASPR 2 days $1,370
03-04
ASPR 2 days $1,370
03-04
ASPR 2 days $1,370
10-11

Save

Share

Recommend

Sales: 408-759-5074
Callback
Enter your number
Live Chat Email