Query last 5 installed rpms by date

rpm -qa --queryformat '%{installtime} (%{installtime:date}) %{name}\n' |  sort -n | tail -5

Source: http://www.tummy.com/journals/entries/jafo_20071031_225537

Comments

Popular posts from this blog

Database, schema, and table sizes in Greenplum

Greenplum update with multiple tables

Show running queries on Postgresql/Greenplum