HP-UX Shell Programming

2 Day Course
Hands On
Code HSPR

Book Now - 2 Delivery Methods Available:

Classroom Virtual Classroom Private Group - Virtual Self-Paced Online

Overview

This course is designed to give delegates practical experience in developing and writing HP-UX 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

Training Partners

We work with the following best of breed training partners using our bulk buying power to bring you a wider range of dates, locations and prices.

Modules

Collapse all

HP-UX 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 andd Facilities (5 topics)

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

Additional Learning

The courses below may help you meet the knowledge level required to take this course.

Scheduled Dates

Please select from the dates below to make an enquiry or booking.

Pricing

Different pricing structures are available including special offers. These include early bird, late availability, multi-place, corporate volume and self-funding rates. Please arrange a discussion with a training advisor to discover your most cost effective option.

Code Location Duration Price Sep Oct Nov Dec Jan Feb
HSPR
Virtual Classroom (London)
2 Days $1,040
07-08 25-26

Course PDF

Print

Share this Course

Share

Recommend this Course

Sections