Pattern matching allows you to create a script that can act on pieces of data if it matches a specific pattern. This makes it possible to script automation into a system process. In this course, learn how to use pattern matching in a Bash script using globs, extended globs, brace expansion, and regular expressions (regex). Throughout this course, Grant McWilliams covers the differences between basic and extended regexes and delves into using extended regexes in bash conditional statements, grep, sed, and AWK.
What are globs and extended globs?
How locale affects searches
Making extended globs persistent
Comparing extended globs with regular expressions (regexes)
Using brace expansion for patterns
Working with extended regexes
Regexes in AWK
Skill Level Advanced
Show MoreShow Less
You started this assessment previously and didn’t complete it. You can pick up where you left off, or start over.