Shell Programming

LENGTH OF COURSE:
5 Days

DESCRIPTION: In the Shell Programming class, students learn how to use the Shell, the powerful UNIX command interpreter, and programming language. Understanding the Shell is essential to using UNIX effectively.

At the end of the class, the student will be familiar with all the basic Shell constructs for programming and will be able to write Shell programs to solve realistic problems. We will emphasize the Korn Shell. However, if students are using another Shell, such as the C Shell, the treatment of the interactive features will be suitably customized.


PREREQUISITES: Introduction to UNIX, or equivalent.

INSTRUCTION TECHNIQUES: A combination of Lecture and Hands-On Labs (when/where available).

AUDIENCE

Students who want a better understanding of the Shell programming environment and support facilities.
KEY HIGHLIGHTS:
  • Introduction
    • Relationship of the Shell to UNIX
    • Shell Versions
  • Review of UNIX (if necessary)
    • File System
    • Permissions
    • Processes
    • Signals
  • Command Line Features
    • UNIX Commands
    • UNIX Command Options
    • Shell Options
    • Aliases
    • Command Line Editing
    • History Mechanism
    • Tilde Expansion
    • I/O Redirection
    • Types and Filters
    • File Name Expansion
    • Environment Variables
    • Four Types of Quoting
    • The PATH Variable
    • Command Substitution
    • Background Execution
    • Job Control


  • Programming Features
    • Creating Shell Scripts
    • Shell Script Parameters
    • Using Files
    • Here Documents
    • Return Values
    • Flow of Control
    • Testing Conditions
    • Arithmetic
    • Menus
    • Traps
    • Functions
    • Input and Output
    • UNIX commands and utilities


FROM OUR STUDENT EVALUATIONS...
"Extremely knowledgeable and willing to gear class to your questions and job experience."

Janice Woody
VIPS

Return to Home Page.
Return to Alphabetic Listing of Courses.
Return to Courses by Subject.
Request More Information or Contact Us.