Grep

From Wiki

Revision as of 14:03, 10 April 2006 by Admin (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To Find Text in a File(s)

grep needle haystack.file

or to search for text in a Directory

grep -Ri needle /path/haystack/

the -i ignores case.

Personal tools