Introduction to Bash Programming

4.6 out of 5 (8 reviews)  

LNX-110 (3 Days)
Request Pricing for Introduction to Bash Programming

Bash Shell Scripting Training Overview

Accelebrate's Introduction to Bash Shell Scripting course teaches students to read, write, and debug Bash (Bourne Again Shell) scripts.

Location and Pricing

Accelebrate courses are taught as private, customized training for groups of 3 or more at your site. In addition, we offer live, private online training for teams who may be in multiple locations or wish to save on travel costs. To receive a customized proposal and price quote for private on-site or online training, please contact us.

In addition, some courses are available as live, online classes for individuals. See a schedule of online courses.

Bash Shell Scripting Training Objectives

All students will:

  • Understand Unix processes and how to control them
  • Learn how to use and script the Bash shell
  • Master core Bash language constructs such as variables, loops, conditionals, and functions
  • Learn advanced Bash programming techniques
  • Debug Bash scripts

Bash Shell Scripting Training Outline

Expand All | Collapse All | Printer-Friendly

Introduction
Unix 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
  • Bash Programming
  • Using Standard Error
  • Script Tracing
  • Options for Debugging
  • Conditional Debugging
Conclusion
Request Pricing for Introduction to Bash Programming

Lecture percentage

40%

Lecture/Demo

Lab percentage

60%

Lab

Course Number:

LNX-110

Duration:

3 Days

Prerequisites:

All students should have basic knowledge of Unix or Linux, or have taken Accelebrate's Introduction to Linux for End Users class. Prior programming or scripting experience is helpful but not required.

Training Materials:

All attendees receive comprehensive courseware and a related textbook.

Software Requirements:

  • Windows, Mac, or Linux PCs with at least 8 GB RAM
  • Accelebrate can provide a VirtualBox or VMware environment with all software needed for the class
    • This class can be taught using the Linux distribution of your choice
  • Please contact us for further setup details

Contact Us:

Accelebrate’s training classes are available for private groups of 3 or more people at your site or online anywhere worldwide.

Don't settle for a "one size fits all" public class! Have Accelebrate deliver exactly the training you want, privately at your site or online, for less than the cost of a public class.

For pricing and to learn more, please contact us.

Contact Us Train For Us

Have you read our Google reviews?

Toll-free in US/Canada:
877 849 1850
International:
+1 678 648 3113

Fax: +1 404 420 2491

925B Peachtree Street, NE
PMB 378
Atlanta, GA 30309-3918
USA

Subscribe to our Newsletter:

Never miss the latest news and information from Accelebrate:

Microsoft Gold Partner

Please see our complete list of
Microsoft Official Courses

Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Ceder Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan

© 2013-2020 Accelebrate, Inc. All Rights Reserved. All trademarks are owned by their respective owners.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.