Tutorial: How to use filters and regular expressions using grep, sed, and awk

last updated in Categories Howto, Linux, UNIX

Tim McIntire has published a 3rd article in UNIX tips and tricks for a new user series – Introducing filters and regular expressions Using grep, sed, and awk:


Discover the power of UNIX filters. In this tutorial, you’ll learn about the grep family in depth, including the syntax of regular expressions in many UNIX utilities. You’ll also find out more about the stream editor, sed, as well as examine the awk pattern scanning language through examples and explanations.

In this tutorial

=> Regular expressions
=> Searching files with grep
=> Editing files with sed
=> Using awk on the command line

Read more at IBM developerworks… (free registration required to access tutorial)


Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.