Dev Finding Things

From Dreamwidth Notes
Revision as of 11:33, 30 January 2009 by Rahaeli (Talk | contribs)

Jump to: navigation, search

Grepping through code

In the directory you want to search:

rgrep -i [search term] *

To output the results of that search into a file in your home directory:

rgrep -i [search term] * > ~/filename.txt