How to determine Kernel version

jdow jdow at earthlink.net
Thu Feb 26 06:09:10 UTC 2004


From: "Richard Welty" <rwelty at averillpark.net>

> On Wed, 25 Feb 2004 22:51:57 -0500 ed <ed at gurski.com> wrote:
> 
> > I was under the impression that the orignal post was to determine which
> > kernel was the currently running kernel.
> 
> i still don't understand why
> 
> $ uname -r
> 
> won't suffice in that case.

"uname -a" shows the kernel currently running in some degree of gory
detail.

"ls /boot/vmlinuz*" shows versions that exist on the system.

Either "cat /etc/lilo.conf" or "cat /boot/grub/grub.conf" reports what
kernels are bootable. Select the command according to which boot method
is installed.

"rpm -qa|grep "kernel-[2s][\.m]" will, I believe, reveal which kernels
are currently loaded on the system from RPMs.

Pick your recipe.
{^_^}





More information about the fedora-list mailing list