Advanced Unix Tools – UNX104 – 3 Days
In this course, students develop more advanced skills in using UNIX tools. Users increase their productivity in UNIX by learning how to create powerful korn shell scripts for processing text, managing files, and performing other complex tasks.
Advanced Unix Tools – UNX104 – 3 Days Request a Class Date
In this course, students develop more advanced skills in using UNIX tools. Users increase their productivity in UNIX by learning how to create powerful korn shell scripts for processing text, managing files, and performing other complex tasks.
After working on UNIX™ systems for a period of time, most users become aware of more advanced ‘power tools’ that can greatly increase their productivity, and can also provide the ability to accomplish additional application tasks that would be unfeasible to automate without such tools. Programmers, administrators, and others who use UNIX on a daily basis will benefit from learning and applying additional skills with UNIX commands and utilities including advanced vi, regular expressions, sed, awk, Perl, and more advanced shell programming features. In this course, students learn and practice advanced Unix skills in using these tools. This course also provides an introduction to the Perl programming language.
Course ID: UNX104 Duration: 3 days
Audience: UNIX users, programmers, and system administrators who wish to develop more advanced skills in UNIX.
Prerequisites: Unix Fundamentals training course.
Advanced Unix Tools Training Course 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