ADVANCED UNIX TOOLS

Course Description

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.
4 days
Contact us for pricing
 

Prerequisites

Fundamentals of UNIX

Audience

UNIX users, programmers, and system administrators who wish to develop more advanced skills in UNIX.

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:

SHELL PROGRAMMING

, $,
Regular Expressions: ., [s]
More about [s]
Regular Expressions: *
More about *
Regular Expressions: {m,n}
Subexpressions

KORN SHELL FEATURES

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

INTRODUCTION TO SED

Aliases
Command History
Functions
The print, read, and set Commands

USING SED

About sed
Why Use sed?
Invoking sed
How sed Works

INTRODUCTION TO AWK

sed Addressing
sed Functions

AWK PATTERNS

How awk Programs Work
Running awk Programs

OVERVIEW OF PERL

Summary of Patterns
BEGIN and END
Expressions
String-Matching Patterns
Extended REs in awk
Range Patterns

UnixUnix AdministrationUnix ScriptingUnix Shell Scripting