Re: find

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Jeremiah Heller wrote:
> On 6 Oct 2008, at 09:33, MHR wrote:
>
>> On Mon, Oct 6, 2008 at 9:26 AM, Ralph Angenendt <ra+centos@xxxxxxxxxxxx 
>>> | [angenenr@shutdown httpd]$grep -ri virtu conf* | grep -v "#"
>>> | conf.d/ssl.conf:<VirtualHost _default_:443>
>>> | conf.d/ssl.conf:</VirtualHost>
>>
>> Doh!  Of course - -r implies multiple files, so without -h you _will_ 
>> get them.
>
> Shorter still=P
>
> [jf@betty conf.d]$ grep -i virtu *

That might be shorter, but doesn't recurse down a directory tree (as was
required by the original poster).

Ralph

Attachment: pgpbfoupL0aXM.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux