[CentOS] find

Ralph Angenendt ra+centos at br-online.de
Wed Oct 8 08:26:47 UTC 2008


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 at br-online.de 
>>> | [angenenr at 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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.centos.org/pipermail/centos/attachments/20081008/88343e69/attachment.bin


More information about the CentOS mailing list