Learn: in:
» back to Search Results

Course rating of 0 Vendor rating of 4

Designed to help technical staff learn the essential skills needed to maintain, write & debug UNIX Korn shell scripts. Both the widely available Korn Shell 88 & newer KornShell 93 are covered, with hands-on programming exercises highlighting techniques

Course Outline
This course is designed to help technical staff learn the essential skills needed to maintain, write and debug UNIX Korn shell scripts. Both the widely available Korn Shell 88 and newer KornShell 93 are covered, with hands-on programming exercises highlighting techniques for each shell. This three day class may also be condensed to a two day delivery if it immediately follows the three day ProTech “UNIX Systems Basics I” class. Topics 2 (Review of UNIX Essentials) and 3 (Review of the vi editor) are covered on-demand if the attendees UNIX skills are rusty.

Topics · Introduction to Shell Programming
· Review of UNIX Essentials
· Review of the vi editor
· Korn Shell Programming Essentials

Audience This course is intended for technical staff that develops and maintains UNIX Korn shell programs either for personal productivity, as an aid to application development or for advanced UNIX system monitoring and maintenance.

Course Outline I. Intro to the UNIX Shell
A. The UNIX Shell
B. Key Shell Features
C. Different Shell Flavors
D. The Shell Prompt
E. Intro to Shell Variables
F. Creating & Using Shell Variables
G. The Environment & Shell Variables
H. Exporting Shell Variables
I. Useful Shell Variables
J. Understanding Shell Quote Usage
K. Command-line Editing
L. Shell Initialization: Startup Scripts
M. Shell Initialization Variables: Lab
N. Shell Scripts
O. Shell Scripts - Example
P. Languages: Compiled vs. Scripting
Q. Viewing Exit Status in the Shell
R. Using Exit Status in a Shell Script
S. Shell: Redirection to & from Files
T. Shell: Pipes
U. Shell: Wildcards
V. Shell: Command Alias
W. UNIX Process Management
X. UNIX Process Mgmt: the ps cmd
Y. UNIX Process Mgmt: Background
Z. Shell Job Control Commands
AA. UNIX Process Mgmt: Kill
BB. UNIX Process Management Lab

II. Review of UNIX Essentials
A. Review of UNIX Essentials
B. UNIX Command Overview
C. Logging In
D. Changing your Password
E. Logging Out
F. Commands, Switches, and Arguments
G. Reading the Manual: the man cmd
H. Userid, UID, Group, GID
I. Understanding UNIX Permissions
J. The UNIX File System
K. Home and Working Directory
L. Commands to List Contents of A File
M. head and tail Commands
N. Copying and Moving Files
O. Deleting Files
P. Summary Slide (cont.)
Q. UNIX Filenames
R. File Management Lab
S. Creating Directories
T. Removing Directories
U. Copying Files Between Directories
V. UNIX File Security: Permissions
W. Working with Permissions
X. chmod Examples
Y. UNIX Directory Permissions
Z. Lab: chmod
AA. File/Dir Permissions - umask
BB. Changing File Ownership
CC. Under the covers of the File System
DD. File Systems, inodes, vnodes
EE. Linking files
FF. Hard vs. Symbolic Links
GG. Linking to a file - ln
HH. UNIX Power Tools

II. Finding Files
JJ. UNIX Power Tools: sort
KK. Archiving Files
LL. Compressing files
MM. TCP/IP Networking
NN. TCP/IP Diagnostic Commands
OO. TCP/IP Applications: rsh, rexec, ftp, mail
PP. Example FTP Session
QQ. TCP/IP Applications: write
RR. TCP/IP Applications: wall
SS. TCP/IP Applications: talk
TT. Scheduling Work w/ cron & at

III. Review of the vi Editor
A. UNIX Text Editors
B. Editing Files with vi - Modes
C. Editing Files with vi - Scrolling
D. Editing Files with vi - Editing
E. Editing Files with vi - File cmds
F. Editing Files with vi - .exrc
G. vi: Lab
H. vi: Regular Expressions
I. vi: Regular Expression Examples
J. vi: Searching for Text
K. vi: Search Lab
L. vi: Text Substitution
M. vi: Text Substitution Lab

IV. Korn Shell Programming Essentials
A. What are the Korn Shell Versions?
B. Korn Shell Syntax Example
C. Using the print Command
D. Using Korn Shell Variables
E. KornShell Variable Types
F. typeset Command
G. typeset for Mathematics
H. Defining and Using Array Variables
I. Reading User Input: Ksh88 & Ksh93 Examples
J. Korn Shell Arithmetic
K. Korn Shell Arithmetic Operators
L. Korn Shell Arithmetic: Lab
M. Command Line Arguments
N. Command Line Arguments: Example
O. Condition Testing: if/then/elif/else
P. Condition Testing: [[ ]] command
Q. String Condition Testing: Example
R. String Testing: Pattern Example
S. Compound Condition Testing
T. Condition Testing: Optional Lab
U. Conditional Execution
V. Exiting from a script
W. File Validation & Exit: Optional Lab
X. Condition Testing: case/esac
Y. Looping Overview: for
Z. Looping Overview: while and until
AA. for Loop: User List Example
BB. for Loop: Filename Expansion
CC. for Loop: Counting…
DD. while Loop
EE. Nested while Loops
FF. Infinite Loops with while
GG. Infinite Loops: Optional Lab
HH. while Loops: Optional Lab
II. File I/O Overview
JJ. Shell Statement Redirection Syntax
KK. Redirecting the Shell with exec
LL. File I/O: Optional Lab
MM. Shell Statement Piping Syntax
NN. Shell Statement Piping: Example
OO. Multitasking in a Shell Program

Due to the nature of this material, this document refers to numerous hardware and software products by their trade names. References to other companies and their products are for informational purposes only, and all trademarks are the properties of their respective companies. It is not the intent of ProTech Professional Technical Services, Inc. to use any of these names generically.
Prerequisites & Certificates

The student should have completed the ProTech UNIX Systems Basics I course or possess equivalent knowledge including an understanding of the UNIX file system, permissions, basic file management commands, use of the vi editor and familiarity with using a UNIX shell interactively.

Certificates offered

Certificate of completion

Cancellation Policy
10 Day cancellation required for all courses in order to get a full refund.
Map & Reviews
Protech Training
[ View Provider's Profile ]


This course has not yet been rated by one of our members.

If you have taken a course through this vendor please log into your account and leave feedback for this vendor. You will be helping ensure our members get directed to the best training facilities.

Here are some reviews of the training vendor.
I took the training remotely so I cannot comment on some of the questions. I think that this seminar has too much content to squeeze it into one week.... might be better as a two week course?
Reviewed by 2013
found the material very helpful - although there was a lot of material covered - the pace was well set. Would definitely recommend people to have explored Microsoft Access beforehand to be familiarized with the program before taking the course. I would imagine someone without any exposure would find it confusing. Environment really good - people very, very nice and helpful. Would definitely take the next level of access with the same training facility.
Reviewed by 2013
I was not in the physical classroom. Feedback centered around online training would be good because now I have to rate items that I was not present for. Those items are getting half a star because I was not there to rate them. The course material must go through an editing process. There are a lot of grammar mistakes, but also a lot of actual procedure/activity mistakes.
Reviewed by 2012

This course currently does not have any dates scheduled. Please call 1-877-313-8881 to enquire about future dates or scheduling a private, in house course for your team.

This page has been viewed 121 times.