BASH Shell Features

CompTIA Linux+ Domain:

Domain 5.0: Automation and Scripting

CompTIA Linux+ Objective:

Objective 5.1: Given a scenario, deploy and execute basic BASH scripts. 

Overview

This lab provides guidance on performing automation and scripting of the Linux+. By performing this lab, students will learn how to use shell variables, aliases and functions.

OUTCOMES:

In this lab, you will learn to:

  1. Create and modify shell variables, both local and environment, and modify initialization files.
  2. Create and use aliases and functions.

Key terms and descriptions

environment variables
Environment variables in the shell are used to store data that is used by the shell and other programs
PATH
The PATH variable contains a list of directories, to search for the command.
alias
Alias is a nickname for another command.