[clue-tech] recursive grep

David L. Willson DLWillson at TheGeek.NU
Mon Oct 18 14:18:32 MDT 2010


Does anyone have a good idea for "find absolutely every file in haystack/, that mentions needle"? 

"grep -R needle /etc/*" and "grep -R needle /var/*"seem to run forever. 

I think it's a "find /etc -xtype f -exec grep ... something, but I can't think of the right something. 

David L. Willson 
Trainer, Engineer, Enthusiast 
MCT MSCE Network+ A+ Linux+ LPIC-1 NovellCLA UbuntuCP 
tel://720.333.LANS 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue-tech/attachments/20101018/19505d69/attachment.html 


More information about the clue-tech mailing list