Bash Programming

Based on 30 students evaluations.

(4.00 out of 5 )

Students learn to read, write, and debug shell scripts, thus increasing productivity by taking full advantage of the bash shell.

  • Course Objectives
  • Course Overview
  • Using the Workbook
  • Suggested References and Reading
  • What is a Process?
  • Process Structure
  • The ps Utility
  • Options to the ps Utility
  • Background Commands (&)
  • Killing Background Processes
  • Redirecting the Standard Error
  • What is a Shell?
  • Running Scripts
  • Specifying the Script’s Interpreter
  • The PATH Environment Variable
  • Sub-shells
  • Shell Variables
  • The read Command
  • The export Command
  • The Shell Environment
  • Parameter Expansion
  • Command Substitution
  • The Login Process
  • The System Profile Script
  • Your .bash_profile Script
  • The . Command
  • The Exit Status of Commands
  • Command Line Examples
  • The test Command
  • The if-then-else Construct
  • The elif Construct
  • case Statements
  • The for Loop
  • The while Loop
  • break and continue
  • Reading Lines From Files
  • Using Arrays with Loops
  • $$ - PID of Shell
  • Command-Line Arguments
  • $# - Number of Arguments
  • $* - All Arguments
  • The shift Command
  • The set Command
  • Getting Options
  • Single vs. Double Quotes
  • What is a Here Document?
  • Using a Here Document
  • Here Document Quoting
  • Ignoring Leading Tabs
  • Shell Functions
  • Passing Arguments to Functions
  • Returning Values from Functions
  • Function Declarations
  • Shell Arithmetic
  • The select Statement
  • Terminal Independence in Scripts
  • The eval Command
  • Using echo
  • Using Standard Error
  • Script Tracing
  • Options for Debugging
  • Conditional Debugging
Linux or UNIX users, programmers, and system administrators.

REGISTER NOW
top

OLLAnywhere is a revolutionary way of utilising cutting-edge technology to allow students to attend live instructor-led training from anywhere in or outside of Australia.