Taking Grep to a Lower Level
Eric Andresen
plug-discuss@lists.plug.phoenix.az.us
05 Nov 2002 15:41:15 -0700
You could try doing a recursive find and piping it through xargs grep
'ComputerName'.
ex:
find /etc | xargs grep 'ComputerName'
On Tue, 2002-11-05 at 15:26, 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
--
--Eric Andresen
ndiin@asu.edu