Work with the Flow Control Constructs

Welcome to the Work with the Flow Control Constructs lab. In this lab, you will be provided with the instructions and devices needed to develop your hands-on skills.

Overview

Learning Outcomes:

In this lab, you will complete the following exercise:

  • Exercise 1 - Work with the Flow Control Constructs

After completing this lab, you will be able to:

  • Use the if…else statement.
  • Use the while loop.
  • Use the until loop.
  • Use the for loop.

Exam Objectives:

The following exam objectives are covered in this lab:

  • LPI: 105.2 Customize or write simple scripts.
  • CompTIA: 5.1 Given a scenario, deploy and execute basic BASH scripts.

Note: Our main focus is to cover the practical, hands-on aspects of the exam objectives. We recommend referring to course material or a search engine to research theoretical topics in more detail.