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 UNIXAudience
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 Oneex and vi - Options
How to Set Options Within vi
How to Set Options in .exrc
VI BUFFERS
The Unnamed BufferNamed Buffers
Cutting and Pasting Between Files
The :next Command
The Delete Buffers
SHELL INTERACTION: EXTENDING VI
File Name Shortcuts in viInvoking 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 GenerationParameters
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
AliasesCommand History
Functions
The print, read, and set Commands
USING SED
About sedWhy Use sed?
Invoking sed
How sed Works
INTRODUCTION TO AWK
sed Addressingsed Functions
AWK PATTERNS
How awk Programs WorkRunning awk Programs
OVERVIEW OF PERL
Summary of PatternsBEGIN and END
Expressions
String-Matching Patterns
Extended REs in awk
Range Patterns
UnixUnix AdministrationUnix ScriptingUnix Shell Scripting