Bash Shell Programming - Course Syllabus

(This page uses style sheets.)

An intensive course for Linux users wishing to write or maintain shell scripts based upon the new standard shell, Bash.

The Bash Shell
Command line usage, options & aliases
Command histories, editing,
Redirection of I/O, pipes and filters
Startup files
Shell Programming
Features and construction, executing scripts
Variable usage, types, built-in variables
Arithmetic expressions
Control flow; if, for, while, until, case, select
Command substitution
Signal catching
Shell functions
Further I/O redirection
Variable substitution, read
Arrays
Pattern matching
Regular expressions
Here documents
Overlaying (exec)
Reparsing of variables (eval)
Typeset
Code blocks
Command line option processing
Two way pipes and coroutines

Notes

  1. All participants receive copies of all slide material and a pocket reference guide.
  2. Exercises are provided along with worked solutions.
  3. The Course is regularly updated to include new material.
  4. Emphasis on different aspects will change according to the participants interests.
  5. The Course is applicable to Korn shells supplied with many versions of Unix and also with the MKS Toolkit shell and the public domain Korn Shell (pdksh). The course is generally compatible with the GNU shell bash as well.
  6. A basic knowledge of Unix is a pre-requisite.
  7. The length of the Course is normally two days.