Week 03

Customizing the Shell and Bash Scripting

This week we will make the shell work the way we want it to, then turn the commands we already know into scripts that run them for us.

Before class

Red Hat Academy

Review the following Red Hat Academy chapters and complete the Guided Exercises prior to class.

  • RH134, Chapter 01: Shell Scripting and the Command Line

In class

Meeting Agenda

In class we will cover the following topics

  1. Shell Variables

  2. The Shell Prompt

  3. The Shell Environment

  4. Aliases

  5. Shell Options

  6. Bash Scripts

  7. Getting Data Into a Script

  8. For Loops

  9. Conditionals

  10. While Loops

After class · Required

Lab Assignments

Complete the lab assignments in this week’s Canvas module.

After class · Optional

RHCSA Cert Guide

Work through the following chapters in the RHCSA Cert Guide. Utilize the 'Do I know this already?' quiz at the start of each chapter to ensure you are using your study time effectively.

  • Chapter 02: Using Essential Tools
  • Chapter 19: An Introduction to Automation with Bash Shell Scripting