Welcome to ONLC Training Centers


Bash Programming Course Outline

 (3 days)

Overview
This 3-day course provides a thorough introduction to bash programming by covering topics like shell variables and functions, the login process, using arrays with loops, and debugging techniques such that by the end of the course, students will be able to take full advantage of the bash shell.

Audience
Linux or UNIX users, programmers, and system administrators.

Prerequisites
Fundamentals of Linux

Course Outline

Linux Processes
What is a Process?
Process Structure
The ps Utility
Options to the ps Utility
Background Commands (&)
Killing Background Processes
Redirecting the Standard Error

Getting Started
What is a Shell?
Running Scripts
Specifying the Script’s Interpreter
The PATH Environment Variable
Sub-shells

Variables
Shell Variables
The read Command
The export Command
The Shell Environment
Parameter Expansion
Command Substitution

The Login Process
The Login Process
The System Profile Script
Your .bash_profile Script
The . Command

Conditional Statements
The Exit Status of Commands
Command Line Examples
The test Command
The if-then-else Construct
The elif Construct
case Statements

Loops
The for Loop
The while Loop
break and continue
Reading Lines From Files
Using Arrays with Loops

Special Variables
$$ - PID of Shell
Command-Line Arguments
$# - Number of Arguments
$* - All Arguments
The shift Command
The set Command
Getting Options

Quoting Mechanisms
Single vs. Double Quotes
What is a Here Document?
Using a Here Document
Here Document Quoting
Ignoring Leading Tabs

Functions
Shell Functions
Passing Arguments to Functions
Returning Values from Functions
Function Declarations

Advanced Programming
Shell Arithmetic
The select Statement
Terminal Independence in Scripts
The eval Command

Debugging Techniques
Using echo
Using Standard Error
Script Tracing
Options for Debugging
Conditional Debugging

View outline in Word

XLBASH

Attend hands-on, instructor-led Bash Programming training classes at ONLC's more than 300 locations. Not near one of our locations? Attend these same live classes from your home/office PC via our Remote Classroom Instruction (RCI) technology.

For additional training options, check out our list of Courses and select the one that's right for you.

Microsoft Gold Partner
Class Dates
(click date for class times)
(click Enroll for locations)

Fee:  $1495

Savings options:

 15 Day Pass
 CEA Tech Saver
Need a price quote?

Follow the link to our self-service price quote form to generate an email with a price quote.

Email Alert

Receive an email when this class is available as "Ready to Run" or "Early Notice" status.

Attend from your office or home

If you have high-speed internet and two computers you can likely take this class from your office or home.

Need a class for a group?

We can deliver this class for a private group at your location. Follow the link to request more information.

Attend computer classes from ONLC Training Centers Request a copy via mail

GENERAL INFO

Class Format
Class Policies
Student Reviews

Bookmark and Share


HAVE QUESTIONS?
First Name

Last Name

Company

Phone

Email

Location

Question/Comment



ONLC TRAINING CENTERS
800-288-8221
www.onlc.com