Managing Text Files - 3

CompTIA Linux+ Domain:

Domain 2.0: System Operation and Maintenance

CompTIA Linux+ Objective:

Objective 2.3: Given a scenario, create, modify, and redirect files. 

Overview

One of the most powerful features in Linux is the ability to use commands to search and modify text within files very easily. This lab provides guidance on creating, modifying, and redirecting files of the Linux+. By performing this lab, students will learn how to search and modify text using regular expressions.

outcomes:

In this lab, you will learn to:

  1. Use commands to search for text within files.
  2. Use commands to modify text within files.

Key terms and descriptions

grep, fgrep, egrep
grep, fgrep, egrep is used to search for text within file.
sed
sed is used to modify text within files.
regular Expression
Regular expressions (RegEx) are defined as a search pattern that allows you to do powerful searches and replacements in strings and files.