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@br-online.de
| [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