Overview
This course is a continuation of the AIX and Korn Shell Fundamentals class. It begins by presenting some additional utilities that are useful in shell scripts. Students are then taught basic programming concepts within the context of the Korn shell scripting language. More advanced features of the Korn shell and its scripting capability are presented next.
The course then presents the basics of working with the Stream Editor. Students are given additional material on regular expressions and taught how to use sed to edit files. Techniques for integrating sed commands into Korn shell scripts are also presented.
Next, the course presents the awk programming language. Students learn to write awk scripts to extract data from files and generate reports. In addition, students are shown how they can integrate awk commands and programs into Korn shell scripts.
Audience
This is recommended for students who already have AIX and Korn Shell Fundamentals training and experience.
Length
16 hours
Outline
Getting Started
Setting Variable Characteristics
Math Operations
Flow Control
File I/O
Functions
Working with Strings
Signals
The Stream Editor
- Introducing sed
- Command Syntax and Line Addressing
- Using Regular Expressions with sed
- Basic sed Commands
- Advanced sed Commands
- Using sed with Shell Scripts
The awk Programming Language
- Introducing awk
- Flow Control
- Arrays
- Basic awk Functions
- Advanced awk Capabilities