| Synopsis |
While sexier languages like Perl and Java have been getting the recent headlines, there has never been a substitute for learning how to program properly in the shell, particularly for UNIX administrators whose daily duties may involve examining or modifying the numerous shell scripts that support the operating system. This course covers all aspects of Korn shell programming, from creating and executing simple scripts to incorporating variables, conditional execution, loops, I/O redirection, shell functions and advanced process control. |
| Synopsis | This course is designed for anyone with a working knowledge of UNIX, and is especially useful for UNIX system administrators who need to understand and modify the numerous administrative scripts on their host. |
| Prequisites |
Attendees should already have a working knowledge of UNIX, including an understanding of the basic file and directory commands and UNIX file permissions. Some administrative experience would be an asset but is not required. |
| Lab exercises | Students will write numerous shell scripts to reinforce the major concepts covered in this course, and will be able to take away both their own solutions and those provided as model solutions by the instructor. |
1. What is shell programming?
2. A review of the shell
3. Creating and running shell scripts
4. The basic building blocks
5. Conditional execution
|
6. Loops
7. Advanced I/O techniques
8. Writing shell functions
9. Shell process control
10. Script execution and debugging techniques
11. Programming guidelines
|