Advanced Unix Tools - UNX104
Duration: 3 days
Audience: UNIX users, programmers, and system administrators who wish to develop more advanced skills in UNIX.
Prerequisites: Fundamentals of UNIX
Topics:
ex and vi Options
- ex and vi - Two Editors in One
- ex and vi - Options
- How to Set Options Within vi
- How to Set Options in .exrc
vi Buffers
- The Unnamed Buffer
- Named Buffers
- Cutting and Pasting Between Files
- The :next Command
- The Delete Buffers
Shell Interaction: Extending vi
- File Name Shortcuts in vi
- Invoking Shell Commands - ex
- Reading In the Output of a Command
- Invoking Filters from vi
vi Macros
- What are Macros and Why?
- The :map Command
- The vi Quote Mechanism
- Example: spell
- Example: fmt (format)
- Markers
- Executing Commands from a Buffer
Regular Expressions
- What is a Regular Expression?
- Literal Regular Expressions
- Regular Expressions: ^, $
- Regular Expressions: ., [s]
- More about [s]
- Regular Expressions: *
- More about *
- Regular Expressions:{m,n}
- Subexpressions
Shell Programming
- Filename Generation
- Parameters
- Named Parameters
- Positional Parameters
- Special Parameters
- Parameter Substitution
- Here Documents
- Shell Commands
- Command List Separators
- Control Flow - Conditionals
- The case Construct
- Control Flow - Loops
- The trap Command
Korn Shell Features
- Aliases
- Command History
- Functions
- The print, read, and set Commands
Introduction to sed
- About sed
- Why Use sed?
- Invoking sed
- How sed Works
- Using sed
- sed Addressing
- sed Functions
Introduction to awk
- How awk Programs Work
- Running awk Programs
Awk Patterns
- Summary of Patterns
- BEGIN and END
- Expressions
- String-Matching Patterns
- Extended REs in awk
- Range Patterns
Overview of Perl
- What is Perl?
- Running Perl Programs



