Basic Shell Programming - Course Syllabus
(This page uses style sheets.)
A one day course for Linux users wishing to write or maintain shell scripts based upon the Linux 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. Linux 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
- All participants receive copies of all slide material and a pocket reference guide.
- Exercises are provided.
- The Course is regularly updated to include new material.
- Emphasis on different aspects will change according to the participants interests.
- The Course is applicable all versions of Unix and Linux.
- Basic Unix experience is a pre-requisite.
- The length of the Course is normally one day.