-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 2 Apr 2003 14:29:56 -0600, Ed Wilts wrote:

> On Wed, Apr 02, 2003 at 02:48:05PM -0500, Robert Adkins II wrote:
> > 
> >     I am curious to know if there is a way to determine at what time
> > an RPM may have been installed onto a computer. 
> 
> Here's my favorite script to list all the installed rpms in date-sorted order:
> 
> #!/bin/bash
> 
> rpm -qa --queryformat '%{installtime} %{name}-%{version}-%{release} 
> %{installtime:date}\n' | sort -g | sed -e 's/^[^ ]* //' 
> 
> This is *extremely* useful if you want to know which packages were
> installed in say, the last week.

rpm -qa --last | less

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+i2Ac0iMVcrivHFQRAh/7AJsEAFgejMAmEjNJz0dlN/BlFMdEIACeJsXL
Q5zz4EGWF2+17trh5z9Hgpg=
=sza9
-----END PGP SIGNATURE-----



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to