Regular Expressions on Command

Would you like to use regular expressions with the classic command line utilities find, grep, sed and awk? These venerable Unix utilities allow you to search, filter and transform large amounts of text (including many common data formats) efficiently and repeatably.

Learning Outcomes

  • find to locate files and directories matching regexes.
  • grep to filter lines in files based on pattern matches.
  • sed to find and replace using regular expressions and captures.
  • awk to work with row- and column-oriented data.

Prerequisites

This course assumes prior knowledge of the basic syntax of regular expressions. If you’re new to regular expressions or would like a refresher, take our Powerful Text Searching & Matching with Regular Expressions course first.

This course also assumes basic familiarity with the Bash command line environment found on GNU/Linux and other Unix-like environments. Take our Introduction to Unix course to get up to speed quickly.

Upcoming Courses

No courses available.
Back to courses
Your browser is not supported. Please upgrade your browser.