Kernel list

Ed Wilts ewilts at ewilts.org
Mon Jun 6 18:34:56 UTC 2005


On Mon, Jun 06, 2005 at 02:21:19PM -0400, Gerry Doris wrote:
> > On Mon, Jun 06, 2005 at 10:19:14AM -0600, Larry D Sorensen wrote:
> >>
> >> How do I list out the installed kernels on my system so that I can
> >> choose
> >> to delete some of the old ones?
> >
> > $ rpm -qa | grep ^kernel | sort
> >
> You can also just do a
> 
> rpm -q kernel
> 
> and you'll get a sorted list of all installed kernels.

And you'll miss all the smp kernels and the unsupported kernels.  You
could do: $ rpm -qa 'kernel*' but personally I find the sorted output
much easier to work with.

-- 
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts at ewilts.org
Member #1, Red Hat Community Ambassador Program




More information about the redhat-list mailing list