Andrew P. Kaplan wrote:

> imgate1# grep "client=email.cshore.com" /var/log/maillog | wc -l
>     4301

A useful flag I learned recently to eliminate some of those "| wc -l" is:

# grep -c "client=email.cshore.com" /var/log/maillog

Also learned about zgrep for gzipped logfiles.

Reply via email to