Search Text Files Using Regular Expressions

Welcome to the Search Text Files using Regular Expressions 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 - Search Text Files Using Regular Expressions

After completing this lab, you will be able to:

  • Search for specific text in a file.
  • Search for specific criteria through a file content or a filesystem.

Exam Objectives:

The following exam objectives are covered in this lab:

  • LPI: 103.2 Process text streams using filters.
  • LPI: 103.7 Search text files using regular expressions.
  • CompTIA: 2.3 Given a scenario, create, modify, and redirect files.

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.