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.
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.
Who will the Course Benefit?
Programmers, developers and system administrators who need to construct shell scripts and process text files using advanced text handling facilities.
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.
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.
Course Information
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.
Skills Gained
The delegate will learn and acquire skills as follows:
Script naming conventions, locations and best practises
Writing simple scripts to enhance basic command output
Using the various shell quoting mechanisms
Manipulating shell variables and user-defined variables
Exercises: Create AWK scripts and program-files utilising program control structures
Session 23: AWK FUNCTIONS
AWK string functions
AWK length, tolower, toupper, index, sub, gsub, match, substr, split, sprintf, system and getline functions
Exercises: Generate AWK scripts and program-files to extract and format data using AWK functions
Session 24: AWK ARRAYS
AWK associative arrays
Multi-dimensional arrays
Exercises: Create AWK associative arrays to process text files and generate reports
Session 25: MISCELLANEOUS TOOLS
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
Notes:
Course technical content is subject to change without notice.
Course content is structured as sessions, this does not strictly map to course timings. Concepts, content and practicals often span sessions.
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.
Leading independent UK training provider, established 1992
Formidable reputation for quality and expertise
Flexibility comes from developing our own independent courses
Course not meeting your needs? Private courses can be tailored specifically for you
Public Schedule & Closed Intructor-Led training - Classroom and Virtual
Live Virtual Classroom
Join live instructor-led classroom training from the comfort of your home or office.
All the convenience and benefits of the classroom experience without the hassle and costs of travel and accommodation.