Familiarity with UNIX commands and shell scripting. There is no review of basic features of the shell as covered in the Bash Shell Programming scripting course, so students should be moderately well-versed in simple shell scripting, including the creation of scripts from scratch, and thoroughly familiar with directories, file permissions, and using the system editor (such as vi).
Programming skills should be fairly well-developed before taking this course, although everything needed to write moderate to advanced shell scripts is covered.
This course provides participants with training to advance their skills utilizing the techniques presented through classroom problem solving and controlled online workshops. Topics covered include Advance I/O Redirection and HERE Documents, Commands, Data Types, Arrays, Shell Functions, Debugging Shell Scripts and Performance Evaluations and Tuning.
Participants are invited to bring their current ideas and questions to the classroom for discussion.
This course is designed for individuals requiring a mastery of the command line interface to the UNIX operating system. This includes system administrators, programmers, and power users. This course is a follow-on to the Bash Shell Programming introductory course.
In this course, participants will:
- Open files for read, write, and read/write, from within the shell
- Use all forms of parameter expansion for precise control of expressions
- Use associative arrays to increase performance in lookup-intensive scripts
- Produce formatted output layouts
- Define and use shell functions to better modularize shell scripts
- Create coprocesses as a rudimentary form of parallel processing
- Advanced I/O Redirection and HERE Documents
- Command and Variable Substitution
- Data Types for Variables Using declare
- Arrays, Part 1 (numeric subscripts)
- Arrays, Part 2 (string subscripts)
- Shell functions, Part 1 (simple functions)
- Shell functions, Part 2 (advanced uses)
- Using eval
- Debugging Shell Scripts
- Performance Evaluation and Tuning