July Release Confetti
150+ New Courses, Hands‑On Labs, And
Interactive Learning Activities
Learn More

The System Administrator's Guide to Bash Scripting

Training Architect
course instructor image
Terrence Cox
A veteran of twenty years in Information Technology in a variety of roles. He has worked in development, security and infrastructure well before they merged into what we now call DevOps. He provides training in Linux, VMWare, DevOps (Ansible, Jenkins, etc) as well as containers and AWS topics.

Introduction

Core Concepts

Exercise: Display Environment Variables

00:30:00

Exercise: Setting and Using Variables in Scripts

00:30:00

Exercise: Using Comments

00:30:00

Exercise: Using /dev/null

00:30:00

Exercise: Exit Status Types

00:30:00

Exercise: Evaluating Arithmetic Expressions

00:30:00

Exercise: Command Substitution

00:30:00

Exercise: Interactive Scripting

00:30:00

Exercise: Using Arrays

00:30:00

Conditional Statements

Exercise: Passing Variables to Scripts at the Command Line

00:30:00

Exercise: The If Statement

00:30:00

Exercise: Using If/Then/Else

00:30:00

Exercise: The For Statement

00:30:00

Exercise: Using the Case Statement

00:30:00

Exercise: While Looping

00:30:00

Input and Output

Exercise: Reading Files

00:30:00

Exercise: File Descriptors and Handles

00:30:00

Exercise: IFS and Delimiting

00:30:00

Exercise: Traps and Signals

00:30:00

Debugging and Error Handling

Exercise: Error Handling with Exit

00:30:00

Functions

Exercise: Creating a Function

00:30:00

Exercise: Variable Scope in Functions

00:30:00

Exercise: Functions with Parameters

00:30:00

Exercise: Nested Functions

00:30:00

Samples/Use Cases

Exercise: Simple Infobox

00:30:00

Exercise: Displaying a Message Box

00:30:00

Exercise: A User Input Box

00:30:00

Exercise: Creating a Menu

00:30:00

Conclusion

Details

In this course, you will develop all of the skills needed to write effective and complex shell scripts that can automate mundane tasks and complex implementations. We will walk you through all of the major components and key words in shell scripting (loops, conditionals, functions, error handling, traps, signals and more) so you can effectively write your scripts to handle any situation. You will find a comprehensive study guide, an instructor note card set and a full SIXTEEN PAGES of sample shell scripts developed during the course, all available for your download and reference.

Study Guides

Course Bash Scripts - Full Listing

This is a full listing of ALL the bash scripts created during the course.

The System Administrator's Guide to Bash Study Guide

Instructor Deck

Community

Looking For Team Training?

Learn More