Re: use find to search contents of files in /etc

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
To: plug-discuss
Subject: Re: use find to search contents of files in /etc
On Fri, 12 Mar 2004, Jay Jacobson wrote:

> Why not just use grep by itself? No need for 'find' at all.


grep was already mentioned in earlier email.

> If you want to
> search just the files, omitting directories:
>
> grep -d skip hostname /etc/*


I never used "-d action" before. I wonder if non-GNU greps support that.

Jeremy C. Reed
http://www.reedmedia.net/

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss