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:
- Use commands to search for text within files.
- 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.