Taking Grep to a Lower Level
Mike Starke
plug-discuss@lists.plug.phoenix.az.us
Tue, 5 Nov 2002 18:32:55 -0500
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 - PLUG-discuss@lists.plug.phoenix.az.us
/_To subscribe, unsubscribe, or to change you mail settings:
/_http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss