SHELL PROGRAMMING
(G610)
Course Description
This course is designed for system administrators who wish to achieve the highest
performance standards for maintaining and enhancing their SCO OpenServer or UnixWare7
systems. The course is invaluable for any user who wants to use the full power of the shell to
execute commands on the system. The course can be especially valuable for SCO ACE
applicants, who are expected to have mastery of the material. You must have completed
the Introduction to SCO Systems course before undertaking this course.
Course Objectives
• Identify and use the basic command line features of the Bourne Shell
• Identify and execute the different command types on the system
• Write a basic ‘batch-file’ shell script
• Use shell variables in a shell script
• Use quotes to protect shell metacharacters in a shell script
• Conditionally execute lines of code in a shell script
• Use looping statements to repeatedly execute line of code in a shell script
• Write shell functions for use within a shell script
• Handle signals when they are received in your shell scripts
• Identify efficiency considerations for a shell script
Course Topics
• SHELL OVERVIEW
• COMMAND EXECUTION
• BASIC SCRIPTS
• SHELL VARIABLES
• LOOPING CONSTRUCTS
• THE EVAL COMMAND DECISION CONSTRUCTS
• QUOTING
• SHELL FUNCTIONS
• SHELL SIGNAL HANDLING
• EFFICIENCY CONSIDERATION