On 10/02/2012 09:28, Ralf Hildebrandt wrote:
* kshitij mali<foreplay...@gmail.com>:
cat /var/log/maillog | egrep -i 'from=<.*@yahoo\.com>'

Why waste processing cycles, just use egrep instead of using cat first.

egrep -i 'from=<.*@yahoo\.com>' /var/log/maillog

Reply via email to