| Intermediate Unix & Korn Shell Scripting |
| This course is designed for those who have taken our Introduction to Unix, or have experience working within the Unix environment, and require greater productivity within the Unix. The class teaches shell scripting for the Korn shell and the Bash shell. |
| The student can focus on a specific Shell in class, or switch between the two shells. The Korn shell is the shell historically used by Corporate America. The Bash shell is an improved Bourne shell used on Linux systems, Apple's OS X systems, and the CYGWIN PC desktop application. Typical Unix commands used in shell scripting will be presented along with programming concepts used in writing scripts (branching, loops, variables, quoting, sub-shells, debugging, and trapping signals). The stream editor “sed” is also covered with an introduction to basic “regular expressions”. |
|
| Covered Topics: |
- Examine files and processes that effect the function of your shell environment.
- Expand your knowledge on Unix “Text Handling” utilities useful in shell scripting.
- Learn manage processes with “job control” and the “kill” command.
- Proven Debugging techniques.
- Flow control with the "if-then”, “if-then/elif-then/else” constructs, “for” loops, the "select” and the “eval” commands.
- Passing arguments into your scripts and using positional parameters.
- Handle construction with “regular expressions”.
- Using the “sed" stream editor.
- Learn shell arithmetic, “while loop”, and the "case" construct.
- “Here” documents to embed multi-line documents within a shell script
- Understanding Shell functions.
- Controlling the execution of your scripts.
|
| Prerequisites: |
| Recent Unix experience. A recent course in Introduction to Unix and a few months on-the-job use of Unix is ideal. Working knowledge of “vi” is a must. |
| Audience: |
| This course is designed for anyone that desires further knowledge of Unix and the ability to solve problems as well as create automatic processes to complete repetitive tasks. |
|
|
| Course Benefits: |
| Students will learn to write powerful programs using the Bash and Korn shell programming languages. With these programs (called shell scripts), the student will be able to quickly perform complex operations, automate repetitive tasks, and create interactive programs that respond to user input. |
| Materials Furnished: |
|
| Recommended Follow-On Course: |
|
|
|
|
|
|
|