Print this Page

Introduction to UNIX Shell Programming

Abstract
(4 Days)

This course provides UNIX system users with the fundamentals needed to create shell programs.  Shell programs are interpreted command files which allow UNIX commands to be embedded in a full programming language.  Shell programming is an important keystone in the development of full application systems in UNIX.  All three shells (Bourne, Korn and C-shell) will be discussed, with the emphasis on the Bourne and Korn shells.

Audience

This course is open to anyone with a knowledge of the UNIX operating system.

Topics

  • Variable definition in the UNIX shell

  • Controlling the UNIX environment via variables

  • Executing UNIX command functions via a shell program

  • Three standard shells, Bourne, Korn and C

  • Shell control structures - conditional, loops, etc

  • Shell programs

  • Parameters

  • Using cron for repetitive jobs

Supervised Exercises

Shell programs will be assigned after each class session to reinforce the material introduced in the class.