Overview This course is designed to give delegates practical experience in developing and writing shell scripts. Most of the built-in Posix 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 them into HP-UX shell scripts.
Pre-Requisites
The course assumes knowledge of the HPUX Operating System to the level covered in the HPUX Introduction Course. Some programming experience may also prove advantageous.
Next Course Dates
Dates available on request. Please contact us
More Information
Programmers, developers and system administrators who need to construct shell scripts using advanced text handling facilities and to control projects using the sccs and make utilities.
- 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
- Backing up and restoring files
- Scheduling background jobs using cron and at
- Using file comparison utilities
- Using the head and tail utilities
- Using the cut and paste utilities
- Sorting files
- Using regular expressions
- Translating characters in a file
- Selecting text from files with the grep family of commands
- Editing text files with sed
- Creating programs with awk
- Using the Source Code Control System
- Using the make utility
HP-UX Command Review
Getting Started
Using Quotes
Using Variables
Handling Run Time Input
Condition Testing
Loop Constructs
Multi-Branch Decisions
Interrupt Handling
Additional Features and Facilities
Using the Posix Shell
Redirection, Pipes and Filters
Backup and Restore Utilities
Background Job
Scheduling
Commands for Comparing Files
File Manipulation
Commands
Sorting Files
Regular Expression Notation
Character Translation with the tr Command
od – Octal Dump
Searching Files for Patterns
The Stream Editor - sed
The Pattern Scanning Utility - awk
The source Code Control System
The make Utilitys
- HP-UX System Administration (HSA)
- SQL (OSP)