Intermediate Unix and Bash Scripting on Mac OS

     This course is designed for those who have taken Introduction to Unix for Mac OS, or have equivalent experience, and require greater productivity within the Unix environment. It teaches shell scripting for the Bash shell. The Bash shell is an improved Bourne shell used on Linux systems, Mac's OS 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.

Topics Covered

  • Examine files and processes that effect the functioning of your shell environment.
  • Expand your knowledge on Unix text handling utilities useful in shell scripting.
  • Manage processes with job control and the kill command.
  • Debugging techniques.
  • Flow control with the "if-then", "if-then/elif-then/else" constructs, "for" loops, the "select" and the "eval" command.
  • Passing arguments into your scripts and using positional parameters.
  • Regular expressions.
  • Using the "sed" stream editor.
  • 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.

Audience:

     This course is designed for those that desire further knowledge of Unix and the ability to solve problems and create automatic processes.

Prerequisites:

Benefits:

     Students will learn to write powerful programs using the Bash shell programming language. 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.

Furnished Materials:

  • PC Workstation for use during training
  • Student Manual

Recommended Follow-On Course

Length:

  • 4 Days

Price:

  • $1,980.00

Training Dates:

Sign Up