main logo
Subject: Re: [ProLinux] Search files for string
Author: Matthew Jarvis
Posted: 2006/01/31 16:53:35
 
View Entire Thread
New Search


Ed Leafe wrote:
>
> I typically use:
> grep -HInri 'searchstring' *
> The 'I' limits the search to non-binary (i.e., text) files; 'n'
> includes the line number, 'r' is the recursive bugger you're looking
> for, and 'i' makes the match case-insensitive.
>

Perfect....

Thanks!


Matthew S. Jarvis
IT Manager
Bike Friday - "Performance that Packs."
www.bikefriday.com
541/687-0487 x140
mattj (at) bikefriday .D.O.T com



 
©2006 Matthew Jarvis
<-- Prior Message New Search Next Message -->