HowTo: Find Which Kernel Version Is Installed On My Linux System

by on April 30, 2007 · 8 comments· LAST UPDATED December 29, 2013

in , ,

I am a new proud Linux user. My question to you is - how do I find which kernel version installed on my Linux system? How do I upgrade my kernel to latest version? Any help would be greatly appreciated.

The Linux kernel is the central (core) component of Linux operating systems. Its responsibilities include managing the system's resources and the communication between hardware and software components.
Tutorial details
DifficultyEasy (rss)
Root privilegesNo
RequirementsNone
Estimated completion time1m

How to check kernel version on Linux server/desktop/laptop?

You need to use then uname command to print certain system information including kernel name. Type the following command to print kernel version number:
$ uname -r
Sample outputs:

2.6.20-15-generic

Another option is to type the following cat command:
$ cat /proc/version
Sample outputs:

Linux version 2.6.32-431.1.2.el6.x86_64 (mockbuild@x86-023.build.eng.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Sun Nov 24 09:37:37 EST 2013

Understanding uname command options

To print certain system information you use uname command. It has the following options:

  -a, --all                print all information
  -s, --kernel-name        print the kernel name
  -n, --nodename           print the network node hostname
  -r, --kernel-release     print the kernel release
  -v, --kernel-version     print the kernel version
  -m, --machine            print the machine hardware name
  -p, --processor          print the processor type or "unknown"
  -i, --hardware-platform  print the hardware platform or "unknown"
  -o, --operating-system   print the operating system

Related media

This tutorial is also available in a quick video format:



Video 01: Find The Linux Kernel Version Command Tutorial

See How DO I Upgrade Linux kernel?

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 8 comments… read them below or add one }

1 thirumurthy August 12, 2009 at 9:17 am

want to learn linux commands

Reply

2 thirumurthy August 12, 2009 at 9:18 am

i want to use linux commands

Reply

3 sqrlking August 17, 2009 at 3:29 pm

or you could $ ls /lib/modules

:)

Reply

4 Hmm January 22, 2010 at 2:57 am

Just type “uname -a”

Reply

5 satish October 15, 2011 at 5:47 am

hi i need information on ftp
and some commands to for ftp

Reply

6 satish October 15, 2011 at 5:48 am

how to bring a binary to windows desktop from linux using ftp

Reply

7 varun February 21, 2013 at 12:59 pm

this is the wrong ans posted on this page. the correct command to check the kernel version is

# uname -v

instead of #uname -r . the uname -r command display the kernel release.

Varun

Reply

8 stella April 8, 2013 at 3:10 pm

my samsung galaxy s11 phone has a pop up that says kernal panic upload mode.how do i update the latest kernal version for my phone?

Reply

Leave a Comment

Tagged as: , , , , , ,

Previous Faq:

Next Faq: