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

Top Pagina
Bijlagen:
Bericht als e-mail
+ (text/plain)
Delete this message
Reply to this message
Auteur: Jeremy C. Reed
Datum:  
Aan: plug-discuss
Onderwerp: 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