On Monday 15 February 2010, Bowie Bailey wrote: > Jim Green wrote: > > On 13 February 2010 10:27, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote: > >> On Sat, 13 Feb 2010, Jim Green wrote: > >> > >> > >> $ rpm -qa # list all installed packages > > > > yum list installed > > I use rpm for basic stuff because it runs faster. For example: > > $ time yum list installed > ... > real 0m17.069s > user 0m0.857s > sys 0m0.675s > > $ time rpm -qa > ... > real 0m4.714s > user 0m4.457s > sys 0m0.120s A nice twist is that "-qa" can be extened to "-qa --last" to get the output sorted on install date (or you can have any format you want with --qf like a previous poster suggested). /Peter
Attachment:
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos