OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: grep maillog by date

From: Reindl Harald (h.reindlthelounge.net)
Date: Tue May 07 2013 - 09:24:03 CDT


Am 07.05.2013 16:20, schrieb Martin Schütte:
> On 05/07/2013 04:03 PM, Reindl Harald wrote:
>> exactly the format like below from /var/log/maillog and yesterday?
>
> With GNU date:
> fgrep -e "`date -d yesterday +'%b %e'`" /var/log/mail.log | fgrep NOQUEUE

perfect - thank you very much!