On 10:43 Fri 09 Mar , Willie Wong wrote: > On Fri, Mar 09, 2007 at 01:24:04PM +0100, Penguin Lover Arnau Bria squawked: > > But sometimes I look for the date when I did my last sync, cause > > maybe it's enough for what I want, but I don't know how to find it... >
$ awk -F: '/Sync completed/ {print strftime("%c", $1)}' /var/log/emerge.log | tail -1 -- "Problem solving under linux has never been the circus that it is under AIX." (By Pete Ehlke in comp.unix.aix) -- gentoo-user@gentoo.org mailing list