HP-UX Shell Programming

Level
Total time

HP-UX Shell Programming

Perpetual Solutions
Logo Perpetual Solutions
Provider rating: starstarstarstarstar 10 Perpetual Solutions has an average rating of 10 (out of 1 reviews)

Need more information? Get more details on the site of the provider.

Starting dates and places

There are no known starting dates for this product.

Description

Course Description:

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

This course includes the …

Read the complete description

Frequently asked questions

There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.

Course Description:

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

This course includes the following modules:

HP-UX Command Review

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

Getting Started

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

Using Variables

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

Integer Arithmetic

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

Handling Run Time Data

  • The read command
  • Command line arguments

Condition Execution

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

Loop Constructs

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

Multi-branch Decisions

  • The case statement
  • Menu driven applications

Functions

  • What is a function?
  • Syntax
  • Examples

Interrupt Handling

  • Interrupt signals
  • Trapping interrupts

Additional Features andd Facilities

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

For online live training advice please visit our Learning Advice Centre on our website. Be sure to follow us on Twitter to receive special course offers, news and updates!

There are no reviews yet.

Share your review

Do you have experience with this course? Submit your review and help other people make the right choice. As a thank you for your effort we will donate £1.- to Stichting Edukans.

There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.