Bourne Shell Programming
Overview:
This three-day programming class provides system administrators the knowledge to create Bourne Shell scripts. Students will develop experience to automate system tasks via hands-on programming exercises in conjunction with the lecture.
Prerequisites:
Prior to attending this class, students should have the following experience:
- Complete the Solaris System Administration course or equivalent experience.
- No programming experience required.
Objectives:
Upon successful completion of this course, students should be able to:
- Define the features of the Bourne Shell.
- Use regular expressions.
- Use useful UNIX utilities such as grep, sed and awk.
- Use Bourne Shell variables.
- Use command long arguments within a Bourne Shell script.
- Use flow control statements such as if, while and for.
- Use conditional expressions such as numeric and string comparison, file testing and the outcome of UNIX commands.
- Handle errors within a Bourne Shell script.
- Create and use Bourne Shell functions.
- Create file handles to read and write directly to files.
- Handle UNIX signals.
Modules:
- Bourne Shell Basics
- Useful UNIX Utilities
- Programming Basics
- Variable Usage
- Command Line Arguments
- Flow Control
- Conditional Expressions
- Math in the Bourne Shell
- Error Handling
- Creating Functions
- Advanced Input/Output
- UNIX signals