Solution 1:
Whenever something needs counting, wc
is your friend:
grep 'to=<[email protected]>' /var/log/maillog | wc -l
Whenever something needs counting, wc
is your friend:
grep 'to=<[email protected]>' /var/log/maillog | wc -l