|
AIX Advanced Shell Programming Tools — A 3-Day Course
Synopsis
This course is designed to give delegates practical experience using a range of AIX tools to manipulate text and incorporate them into AIX shell scripts.
The delegate will practice:-
- Using the Korn shell command line editor
- 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
Course Objectives
On completion of this course, the delegate will be able to make effective
use of a wide range of standard AIX programming and development tools.
Suitable for
- Programmers, developers and system administrators who need to construct
shellscripts using advanced text handling facilities and control projects
using the sccs and make utilities.
Prerequisites
- Knowledge of the AIX Operating System to the level covered in the AIX Basics Course
- Shell programming experience to the level covered in AIX Shell Programming course
Publicly scheduled dates, locations, and prices
Central London — £1095 (+VAT)
- 4–6 Jun 2008
- 6–8 Aug 2008
- 17–19 Sep 2008
- 29–31 Oct 2008
- 3–5 Dec 2008
Contents:
Using the Korn Shell
- Features
- Command history facility
- Korn shell command history
- Korn shell command line editing
- Command aliasing
- Job control
Redirection, Pipes and Filters
- Standard I/O and redirection
- Pipes
- UNIX filters
- The tee command
Backup and Restore Utilities
- Archive devices
- The cpio command
- The tar command
- The dd command
Background Job Scheduling
- Starting background jobs
- Background tasks and the nohup command
- Process priorities and the nice command
- Job control
- Scheduling jobs with the at command
- Scheduling jobs with the cron command
Commands for Comparing Files
- Compare two files with the cmp command
- Compare two files with the comm command
- Compare two files with the diff and sdiff commands
- Identifying file differences
File Manipulation Commands
- The file command
- The head command
- The tail command
- The cut command
- The paste command
Sorting Files
- Introduction and command line syntax
- Sort options
- Sort by field specifying a field separator
- Sort in dictionary order
- Sort with ignore case
- Numerical sort
- Sort on part of a field
- Reverse sort order
- Eliminate duplicate lines in sorted output
- Merging sorted files
- Removing adjacent repeated lines with uniq
- Count repeated lines
- Display repeated and unrepeated words
Regular Expression Notation
- Using Special characters within patterns
Character Translation with the tr Command
- Introduction and command line syntax
- tr options
- Processing files
- Remove duplicate adjacent characters
- Deleting characters
od - Octal Dump
- Introduction and command line syntax
- od options
- Interpreting bytes as ASCII
- Interpreting bytes as ASCII numbers
- Interpreting bytes in octal
- Interpreting bytes in decimal
- Interpreting bytes in hex
Searching Files for Patterns
- grep introduction and command line syntax
- grep options
- Simple searches for text patterns in a file with grep
- Finding more complex strings
- Inverting searches
- Using regular expressions
- Using wildcards
- Specifying a set of characters
- Using fgrep
- Using egrep
The Stream Editor - sed
- Introduction and command line syntax
- The sed program structure
- sed program processing
- Use sed commands
- sed addresses
- sed instructions
- Hold and get functions
- Flow of control functions
The Pattern Scanning Utility - awk
- Introduction and command line syntax
- The awk program structure
- Use regular expressions
- Operators
- Simple patterns
- Extended patterns
- Comments
- Special patterns (BEGIN and END)
- Program variables
- Built-in variables
- User defined variables
- Mathematical Operators
- Enhanced printing
- Handling user variables
- Functions
- Built in functions
- The system function
- The getline function
- User defined functions
- Program control structures
- Associative Arrays
The source Code Control System
- Overview of SCCS
- SCCS files
- SCCS deltas
- Creating a SCCS File
- Retrieving a delta
- Creating a new delta
- Deleting a delta
- Identification keywords
- Recovering from errors
- Leaf branches
- Joint editing
- Access control
- Additional get options
- Additional admin options
- The prs command
- prs data keywords
- The sact command
- The cdc command
- The what command
- The sccsdiff command
- The comb command
The make Utilitys
- Overview of make
- The makefile
- Invoking make
- Macros
- Internally defined makros
- Command line macro definitions
- Shell environment variables
- Macro assignment priorities
- Suffix rules
- Default suffix rules
- User defined suffix rules
- Command line notes
- Dummy targets
- Make command line options
|
Publicly Scheduled Training Locations
We currently run public training courses in the following locations:
- London, UK
- Leeds, West Yorkshire, UK
- Birmingham, West Midlands, UK
- Carshalton, Surrey, UK
- Chester, North West, UK
- Coventry, West Midlands, UK
- Edinburgh, Scotland, UK
- Glasgow, Scotland, UK
- Harwell, Oxfordshire, UK
- Manchester, North West, UK
- Milton Keynes, Buckinghamshire, UK
- Newark, Nottinghamshire, UK
- Reading, Berkshire, UK
- Slough, Berkshire, UK
- Stevenage, Hertfordshire, UK
- Wakefield, West Yorkshire, UK
- Wokingham, Berkshire, UK
Most UK public training courses are available on a monthly basis.
Please see the individual course outlines or our public
training schedule
for details.
In-house (on-site) training locations
We deliver in-house courses at client premises and/or training facilities in
any part of the world which is practically and commercially accessible.
Our In-house training guidelines
outline our basic requirements and our UK pricing structure. To estimate costs
for training in other countries, simply convert to your local currency and then
make a rough calculation of our tutor's costs for travelling to and staying at
your location.
|