Thanks Rob & Jack.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Robert P. J. Day
Sent: Wednesday, June 26, 2002 5:05 PM
To: [EMAIL PROTECTED]
Subject: Re: Unix command ??

On Wed, 26 Jun 2002, fneira wrote:

> A correction to myself: if you just issue: grep -r "enable" it will
wait 
> forever because it will default to standard input (ha ha ha), instead,

> you should type: grep -r "enable" *
> And  of course, I absolutelly agree with Jack's comment.

and if you don't want every single line that contains "enable",
adding the "l" option will only list the filenames, as in :

# grep -rl enable /

rday

p.s.  although you might think hard about being more selective about
the directories you want to search than just starting at /.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to