Overview

Introduction

Welcome to the Working with Bash Profiles and Bash Scripts Practice Lab. In this module you will be provided with the instructions and devices needed to develop your hands-on skills.

Learning Outcomes

In this module, you will complete the following exercises:

  • Exercise 1 - Working with Bash Profiles and Bash Scripts

After completing this lab, you will be able to:

  • Log into a Linux System
  • Understand the role of various bash related files
  • Write a simple bash script
  • Use commenting
  • Use parameters
  • Capture user inputs in scripts

Exam Objectives

The following exam objectives are covered in this lab:

  • LPI: 105.1 Customize and use the shell environment
  • CompTIA: 2.2 Given a scenario, manage users and groups.

Lab Duration

It will take approximately 1 hour to complete this lab.

Exercise 1 - Working with Bash Profiles and Bash Scripts

Bash is a shell, which acts as a command language interpreter. When a user executes a command, the output is generated as the output of the command. Bash can execute individual commands as well as the commands from a file, which is known as a script.

In this exercise, you will work with the Bash profiles and Bash scripts.

Learning Outcomes

After completing this exercise, you will be able to:

  • Log into a Linux System
  • Understanding the role of various bash related files
  • Write a simple bash script
  • Use commenting
  • Use parameters
  • Capture user inputs in scripts

Comprehensive Learning

See the full benefits of our immersive learning experience with interactive courses and guided career paths.