Home Consultancy Training Software

 

 

Course Syllabus
Basic Shell Programming

   

A one day course for Unix users wishing to write or maintain shell scripts based upon the Unix shells of the Bourne Shell Family. These include the Bourne, Korn and Bash shells. The course is intended to be of practical use in writing and modifying normal scripts. As such, it covers approximately 70% of the syntax, leaving out the more esoteric parts. This course is often incorporated into one of our other courses (eg. Unix in Depth) in which case the first topic (Shell Commands) is not covered.

 

* Shell Commands - Command line usage
- Wildcard expansion
- Redirection of I/O, pipes and filters
* Shell Programming - Simple scripts
- Specifying the interpreter
- Shell variables
- The Environment
- Control flow; test, if, for, while, case
- Command substitution
- Signal catching
- Shell functions
- Aliases
- Reading from the Standard I/P
- Here documents
- Startup Files
- basename and dirname
- Expression evaluation (expr)
- Quoting

 

Notes

  1. All participants receive copies of all slide material and a pocket reference guide.
  2. Exercises are provided.
  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 all versions of Unix and Linux.
  6. Basic Unix experience is a pre-requisite.
  7. The length of the Course is normally one day.