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

Página superior
Adjuntos:
Obtener este mensaje como un correo
+ (text/plain)
Eliminar este mensaje
Responder a este mensaje
Autor: Jeremy C. Reed
Fecha:  
A: plug-discuss
Asunto: 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