BASH Scripting Lab

Infosec Learning
Virtual Lab

This lab prepares you for the Linux+ exam by teaching you how to work with BASH shell scripts. Shell scripting saves you the time of having to type a long sequence of commands that you routinely use. In this lab, you will perform the following tasks: Create simple shell scripts, and Create shell scripts with conditional execution.

Time
1 hour 30 minutes
Difficulty
Beginner
Share
NEED TO TRAIN YOUR TEAM? LEARN MORE
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or

Already have an account? Sign In »

Overview

This lab prepares you for the Linux+ exam by teaching you how to work with BASH shell scripts.

Shell scripting allows you to take a complex sequence of commands, place them into a file, and then run the file as a program. This saves you the time of having to type a long sequence of commands that you routinely use.

This lab will focus on how to create simple shell scripts. For the purpose of this lab, we will assume that you know how to use an editor. Feel free to use the editor of your choice: vi, nano, gedit, or any other editor that you like.