![]() |
AIX UNIX Shell and Command Tools
Duration: 5 days |
Participants: Technical AIX users who need broad familiarity with the resources already available in the AIX system, in order to quickly accomplish daily tasks without unnecessary programming. |
Objectives:
Upon successful completion of this course you will be able to:
- Use shell features, as well as built-in AIX commands and their options, to accomplish daily data processing tasks with a minimum of programming effort. |
Overview:
- This advanced course begins with a quick review of twelve commands. AIX command I/O is covered in-depth. Then, the course presents twenty file-processing commands with their most commonly-used options. Half-a-day is spent on sed, the stream editor, and one-and-a-half days on awk, the pattern scanning and processing language. The use of regular expressions with these commands is covered in depth. - At the end of the course, a section on shell tools reviews user-defined variables, positional parameters, command substitution, and quoting. This section offers a series of challenging exercises that review the entire course. As an alternative, if a student has a suitable real problem that he or she is working on at the moment that can be shared with the class, the class may use that as a case study. |
Prerequisites: Working knowledge of basic AIX commands such as grep, ls -l, cd, rm, cp, mv, cat, and who; ability to use an editor to create and modify a small file; and ability to use redirection, pipes, and filename generation wildcards. Previous attendance at an introductory course on AIX is recommended. |
Format: Lecture and discussion (50%) with command line and programming exercises (50%). |
Topic Outline:
- Command I/O Typical patterns of I/O Using - to represent the standard input - Regular Expressions (in detail) - File Processing Commands sed awk tee grep egrep fgrep wc sort nl tr cut paste tail uniq split csplit comm cmp diff - Programming Positional Parameters User-defined Variables If, Test, While, Shift, Exit, Break, Continue, Export Command Substitution Shell quoting mechanisms |
|