[CentOS] find

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

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-0004.sig>