Re: [SLE] List of recent installs ?
Thanks - is there a way to get the installtime in "normal" time ?
Yes, rpm -qa --queryformat '%{NAME} %{INSTALLTIME:date}\n' | sort -gk2
- Close, but we still need the epoch time to sort by date. Maybe like this: rpm -qa --queryformat '%{INSTALLTIME}\t%{INSTALLTIME:date}\t%{NAME}\n' | sort -g | cut -f 2- __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo
Rocking - thanks dude :) Digsy --- Jeff Pohlmeyer <yetanothergeek@yahoo.com> wrote:
Thanks - is there a way to get the installtime in "normal" time ?
Yes, rpm -qa --queryformat '%{NAME} %{INSTALLTIME:date}\n' | sort -gk2
- Close, but we still need the epoch time to sort by date.
Maybe like this:
rpm -qa --queryformat '%{INSTALLTIME}\t%{INSTALLTIME:date}\t%{NAME}\n' | sort -g | cut -f 2-
__________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
participants (2)
-
Jeff Pohlmeyer
-
perlcgi2000