[wplug] need help with command

Bob Schmertz rschmertz at speakeasy.net
Thu Sep 11 13:56:56 EDT 2003


Joe Topjian incurred the wrath of Bob on Sep 11, by saying

>> % cd directory
>> % find . -type f -exec grep "*stuff*" {} \; -print
>
>Yes, that is the command I originally had in mind but couldnt remember 
>the exact syntax for the life of me. I remember seeing it many times in 
>books, but its contortion is rather hard to remember  :)

Yeah, it took me a couple of years of UNIX/Linux experience before I
finally started to get comfortable with find, and I'm _still_ learning.  
I still prefer locate when it's applicable and available.

-- 
Cheers,
Bob Schmertz




More information about the wplug mailing list