Summary

In this lesson, we covered the fundamentals of regular expressions, better known as REs. Regular expressions are an extremely flexible way of describing a pattern to be matched. Because many Unix applications, including the shell, support REs, it is important to develop a general understanding of how they work and what they are used for. With people relying on Unix (or Linux) as their server system or desktop of choice, knowing some of the power you can unleash will aid you in finding areas you need to study deeper, and this is definitely one of them. This lesson was designed to provide enough background for you to begin your true journey into using REs, programming languages like Perl, and beyond into the next lesson's topic: shell scripting ...

Get SAMS Teach Yourself Unix in 10 Minutes 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.