On Tue, 9 Jan 2007 23:25:31 -0700, Justin Findlay wrote:

> # find /etc -type f -exec grep -nI --color PANTS {} \;

You'll need a -H on the grep arguments, otherwise it won't show the name
of the file that contains the match, because find is passing it the files
one at a time.

Quoting the {} is good practice too.


-- 
Neil Bothwick

Room service? Send up a larger room.

Attachment: signature.asc
Description: PGP signature

Reply via email to