Use Streams Pipes and Redirects

Welcome to the Use Streams Pipes and Redirects 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 - Use Streams Pipes and Redirects

After completing this lab, you will be able to:

  • Redirect standard input, standard output, and standard error
  • Pipe the output of one command to the input of the other command
  • Use the output of one command as the input to another command
  • Send the output to both stdout and a file

Exam Objectives:

The following exam objectives are covered in this lab:

  • LPI: 103.4 Use streams, pipes, and redirects
  • 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.