Re: Patch Status of RH8 server?????

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 28, 2004 at 06:01:26PM +0530, truejack@xxxxxxxxxxxxx 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@xxxxxxxxxx
Member #1, Red Hat Community Ambassador Program


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux