Taking Grep to a Lower Level

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Mike Starke
Date:  
Subject: Taking Grep to a Lower Level
I would do something like:

'grep -ir ComputerName <directory>'
'grep -ir ComputerName /etc/*'

I have a habit of adding the -i because I am never quite sure
about the case.

HTH

-Mike



On Tue, Nov 05, 2002 at 03:26:17PM -0700, George Gambill wrote:
/_Need to change the "computer name" without reloading RH 7.2.
/_
/_Looking at the man pages for Grep, it (grep) seems to only look in the
/_current directory.
/_
/_How can I grep 'ComputerName' through all subdirectories?
/_
/_Thnx
/_
/_
/_-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
/_PLUG-discuss mailing list -
/_To subscribe, unsubscribe, or to change you mail settings:
/_http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss