Module 5
Introduction
During this module we will focus on various features of the BASH shell and learning to write BASH scripts (also referred to as shell scripts). The start of this module will focus on learning more about how the BASH shell works and creating our own variables. Recall, we learned about the env command to view variables, now we will learn how to create our own. This will help us progress to being able to create and understand shell scripts. Being able to write and understand shell scripts is the main focus of this module. One of the reasons we will focus on shell scripts in detail is Linux startup scripts are actually shell scripts. Being able to read/understand these scripts is important. Also, being able to create your own will allow you to create or modify scripts of your own as needed. If you need to automate a task you could do so by writing a shell script and then adding it to a cronjob.
This module is also a great review as you will need to reference and use commands that we have previously covered. Think of this module as also helping you start to study for the final exam.
Module Level Learning Outcomes (MLOs)
Write a basic shell script. → LO #4
Topics
This module will cover the following sessions: 25, 26 and 27.
Keep in mind that it might not be in the same order as I've updated the course since this was filmed.