HP-UX Posix Shell Programming Course Overview
HP-UX Posix Shell Programming Course Overview
Call StayAhead Training on 020 7600 6116 to book your place now quoting course code:
HPSP
S7
HP-UX Posix Shell Programming Course Overview
This Hewlett Packard HP-UX Posix Shell Programming training course is designed to give delegates practical
experience in developing and writing shell scripts. Most of the built-in shell commands are introduced together with the
main program control structures.
The course also gives practical experience using a range of HP-UX tools to manipulate text and incorporate into HP-UX
shell scripts.
The HP-UX Posix Shell Programming course assumes knowledge of the HP-UX Operating System to the level covered
in the HP-UX Introduction course. Some programming experience may also prove advantageous.
Course Objectives
To provide the skills needed to develop and customise shell programs and to make effective use of a wide range of
standard HP-UX programming and development tools.
Requirements
The HP-UX Posix Shell Programming course assumes knowledge of the HP-UX Operating System to the level covered
in the HP-UX Introduction course. Some programming experience may also prove advantageous.
1 of 6 13/06/2019, 18:28
HP-UX Posix Shell Programming Outline (StayA... https://www.stayahead.com/Training-Courses-S...
Note:
This 5-day HP-UX Posix Shell Programming course combines the HP-UX Shell Programming and HP-UX Advanced
Shell Programming Tools courses. If the dates allocated to this 5-day course are not suitable, then this course can also
be booked by selecting dates from both the HP-UX Shell Programming and the HP-UX Advanced Shell Programming
Tools courses. The Shell Programming course should be attended first and may start on either a Monday or a Thursday.
Pre-Requisite Courses
HP-UX Introduction
Follow-On Courses
HP-UX System Administration
Oracle SQL
Notes:
Course Introduction
Environment variables
Local variables
Assigning values to variables
Assessing variable values
Using quotes
Delimiting variable names
Echo control sequences
Exercise: Add variables to a script
2 of 6 13/06/2019, 18:28
HP-UX Posix Shell Programming Outline (StayA... https://www.stayahead.com/Training-Courses-S...
What is a function?
Syntax
Examples
Creating a Function Library
Exercise: Add a function to a script
Interrupt signals
Trapping interrupts
Exercise: Adding traps to the menu script
3 of 6 13/06/2019, 18:28
HP-UX Posix Shell Programming Outline (StayA... https://www.stayahead.com/Training-Courses-S...
od - octal dump
Use cat to display non-printing characters
The expand and unexpand commands to convert between tab and space characters
The tr command for character translation
Exercises: Translating characters with tr
4 of 6 13/06/2019, 18:28
HP-UX Posix Shell Programming Outline (StayA... https://www.stayahead.com/Training-Courses-S...
bc (calculator)
fuser (testing for files in use)
getops (checking options passed to shell scripts)
printf (formatting screen output)
logger (script logging)
xargs (generating arguments for a command)
eval (re-evaluating variables)
Exercises: Using tools within a shell script
Pre-Requisite Courses
HP-UX Introduction
Follow-On Courses
HP-UX System Administration
Oracle SQL
5 of 6 13/06/2019, 18:28
HP-UX Posix Shell Programming Outline (StayA... https://www.stayahead.com/Training-Courses-S...
01 July
19 August
14 October
09 December
Additional Resourcing
If you have a number of delegates to train then this course can be conducted on your premises or at a venue of your
choice as a Closed event. Closed courses can be tailored to meet the specific needs of your business and can prove to
be cost effective, convenient and relevant.
There are options to take this as a Virtual course. Please contact us to discuss your specific requirements and to
arrange a date to run this course as a virtual event to suit your schedule.
Note
This 5 Day course combines the HP-UX Shell Programming and HP-UX Advanced Shell Programming Tools courses. If
the dates allocated to this 5 Day course are not suitable then this course can also be booked by selecting dates from
both the HP-UX Shell Programming and the HP-UX Advanced Shell Programming Tools courses. The Shell
Programming course should be attended first and may start on either a Monday or a Thursday.
6 of 6 13/06/2019, 18:28