[PLUG] grep vs find [Was: Re: Unsaved E-mail: Recoverable? [YES, IT IS]]

Fred James fredjame at fredjame.cnc.net
Wed Feb 9 19:11:19 UTC 2011


wes wrote:


(omissions for brevity, and to change the subject)
> grep -ri [some key word from the email] /
>
> -wes
>   
Now that I find very interesting (-r) ... often my quest is for a file 
(or files) containing some specific piece of text, and the 'find' for 
that isn't nearly as pretty as this.

Which is faster for this purpose (if you know), find or grep?
Thank you
Regards
Fred James




More information about the PLUG mailing list