Choose your language:

Hong Kong
New Zealand
United Kingdom
United States

Advanced Bash Shell Programming

Course Code



4 Days

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
  1. Advanced I/O Redirection and HERE Documents
  2. Command and Variable Substitution
  3. Data Types for Variables Using declare
  4. Arrays, Part 1 (numeric subscripts)
  5. Arrays, Part 2 (string subscripts)
  6. Shell functions, Part 1 (simple functions)
  7. Shell functions, Part 2 (advanced uses)
  8. Using eval
  9. Debugging Shell Scripts
  10. Coprocesses
  11. Performance Evaluation and Tuning
Send Us a Message
Choose one