Patch Status of RH8 server?????
Ed Wilts
ewilts at ewilts.org
Wed Apr 28 15:13:14 UTC 2004
On Wed, Apr 28, 2004 at 06:01:26PM +0530, truejack at indiainfo.com wrote:
> I acquired a pair of RedHat Linux 8 servers recently.
>
> Although I do a lot of AIX and HP-UX sysadmin stuff, I'm a RedHat newbie.
>
> My questions is, How do i get a list of all the patches installed on a RH8
> box.
# rpm -qa
To get the sorted by date, you can do something like this (watch the
line wrapping):
#!/bin/bash
rpm -qa --queryformat '%{installtime} %{name}-%{version}-%{release}
%{installtime:date}\n' | sort -g | sed -e 's/^[^ ]* //'
--
Ed Wilts, Mounds View, MN, USA
mailto:ewilts at ewilts.org
Member #1, Red Hat Community Ambassador Program
More information about the redhat-list
mailing list