EEC Logo



Bash Shell Programming

Duration: 3 days

Audience

Individuals requiring a mastery of the command line interface to the UNIX operating system. This includes system administrators, programmers, and power users.

Course Contents

  1. Review of Useful Shell Commands

  2. Using Redirection, Pipes, Command and Variable Substitution

  3. Command Line Parsing

  4. Command Line Editing

  5. Using the History, Alias, and Function Facilities

  6. Bash Shell Job Control

  7. The Shell Environment

  8. Creating and Using Shell Scripts

  9. Advanced Uses of Variables in Expressions

  10. Program Flow Control (conditional statements)

  11. Program Flow Control (loop and branch statements)

  12. The set Command (Bash Shell options)

  13. Debugging Shell Scripts

  14. Using the trap Command (signal handling)

  15. Using Temporary Files Effectively

  16. Introduction to Advanced Programming Techniques

Course Objectives

Upon completion of this course, the student will be able to write Bash Shell scripts using the following features and more:

Instructional Technique

Students are invited to bring their current ideas and questions to the classroom for discussion. Case studies, lecture, group problem solving, and online laboratories will be used. Students will be encouraged to enhance their skills utilizing the techniques presented through classroom problem solving and controlled online workshops.

Prerequisites

Familiarity with Unix commands, directory structure, and the text editor.

Programming skills are not required, but are helpful.