Choose your language:

Hong Kong
New Zealand
United Kingdom
United States

Korn Shell Programming

Course Code



3 Days

Familiarity with UNIX commands, directory structure, and the text editor are required.
The course provides the students with encouragement to enhance their skills utilizing the techniques presented through classroom problem solving and controlled online workshops. Participants are invited to bring their current ideas and questions to the classroom for discussion. Case studies, lecture, group problem solving, and online laboratories will be used.
This course is designed for individuals requiring a mastery of the command line interface to the UNIX operating system. This includes system administrators, programmers, and power users.

Upon successful completion of this course, participants will be able to write Korn Shell scripts using the following features and more:

  • I/O redirection, pipes, and command and variable substitution
  • Passing parameters to shell scripts and interpreting their meaning
  • Controlling the program flow using conditionals and loops
  • Catch and interpret Control-C and other signals
  • Apply debugging techniques to locate coding errors
Review of Useful Shell Commands
Using Redirection, Pipes, Command and Variable Substitution
Command Line Parsing
Command Line Editing
Using the History, Alias, and Function Facilities
Korn Shell Job Control
The Shell Environment
Creating and Using Shell Scripts
Advanced Uses of Variables in Expressions
Program Flow Control (conditional statements)
Program Flow Control (loop and branch statements)
The set Command (Korn Shell options)
Debugging Programs
Using the trap Command (signal handling)
Using Temporary Files Effectively
Advanced Programming Techniques
Send Us a Message
Choose one