"The grep command is a hugely powerful way to search through
files. Like many command line utilities, once you're comfortable
using it, you will discover that it is surprisingly fast and
"However, many Linux users only bother to learn one or two grep
options and then use them as a kind of one-size-fits-all approach
to searching. A little time spent learning what grep can do will
pay dividends – and there's nothing more satisfying than
knowing exactly how to use a command to find something in a
"We'll start out with the basics and build up a repertoire of
ways to use grep, before finishing with some things to check out if
you're still hungry for more."
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.