Using Shell Input and Output Redirections

Practice Labs Module
Time
58 minutes
Difficulty
Intermediate

Welcome to the Using Shell Input and Output Redirections Practice Lab. In this module you will be provided with the instructions and devices needed to develop your hands-on skills.

Join over 3 million cybersecurity professionals advancing their career
Sign up with
or

Already have an account? Sign In »

Overview

Introduction

Welcome to the Using Shell Input and Output Redirections 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 - Using Shell Input/Output Redirections

After completing this lab, you will be able to:

  • Log into a Linux System
  • Redirect Output
  • Redirect Input
  • Discard the Output
  • Use the tee Command

Exam Objectives

The following exam objectives are covered in this lab:

  • LPI: 103.4 Use streams, pipes, and redirects
  • CompTIA: 2.3 Given a scenario, create, modify, and redirect files.

Lab Duration

It will take approximately 1 hour to complete this lab.

Exercise 1 - Using Shell Input and Output Redirections

Normally a system has a large number of text files. Searching for a specific text file can be a tedious task. You can search text files based on criteria specified using regular expressions.

In this exercise, you will understand how to search text files on a Fedora Linux system.

Learning Outcomes

After completing this exercise, you will be able to:

  • Log into a Linux System
  • Redirect Output
  • Redirect Input
  • Discard the Output
  • Use the tee Command
Learning Partner
Comprehensive Learning

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