Lesson 15 of 18 · User
Regular expressions with grep -E and sed
Objective
Learn to describe a text pattern (an e-mail address, a phone number, a configuration line) with a regular expression, then use it to filter with grep -E and to modify with sed. This is what lets you fix a setting on twenty servers in one command, without opening an editor.
This lesson is part of the full course
Unlock Linux Command-Line Fundamentals to read every lesson, do the exercises, access the simulations and earn your certificate.
Already enrolled? Log in.