AIX Shell Programming

2 Day Course
Hands On
Code ASPR

Book Now - 2 Delivery Methods Available:

Scheduled Online Onsite

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

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
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 21 Classroom dates 6 locations
CodeLocationDurationPrice Jul Aug Sep Oct Nov Dec
ASPR
Birmingham
2 Days $1,395
ASPR
Bristol
2 Days $1,395
ASPR
Edinburgh
2 Days $1,395
ASPR
Leeds
2 Days $1,395
ASPR
London
2 Days $1,395
ASPR
Manchester
2 Days $1,395
Ask a Question

or call:408-759-5074

Course PDF

Print

Share this Course

+1
Share

Recommend this Course