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

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Jeremy C. Reed
日付:  
To: plug-discuss
題目: 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