© David Both 2020
D. BothUsing and Administering Linux: Volume 2https://doi.org/10.1007/978-1-4842-5455-4_6

6. Regular Expressions

David Both1 
(1)
Raleigh, NC, USA
 

Objectives

In this chapter you will learn
  • To define the term “regular expression”

  • To describe the purpose of regular expressions and extended regular expressions

  • To differentiate between different styles of regular expressions as used by different tools

  • To state the difference between basic regular expressions and extended regular expressions

  • To identify and use many of the metacharacters and expressions used to build regular expressions for typical administrative tasks

  • To use regular expressions and extended regular expressions with tools like grep and sed

Introducing regular expressions

In Volume ...

Get Using and Administering Linux: Volume 2: Zero to SysAdmin: Advanced Topics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.