Ubuntu Kernel Version Check

Ubuntu Kernel Version Check Rating: 3,6/5 5744 votes
Reading Time: 2minutes

In this article and related video, we will be discussing how to check the kernel version in both Ubuntu and CentOS Linux. The following command works with all Linux distributions, such as Red Hat, CentOS, Debian, and Ubuntu. It also works on other UNIX-like operating systems such as HPUX, FreeBSD, OpenBSD, Solaris, etc. Use the following command to check which kernel version your server is currently running:

Here’s the code to run from the command line:

uname -r
You should receive a result similar to the following:

Linux Check Kernel Version

2.6.32-431.11.2.el6.x86_64

Learn how to check Linux kernel version using command line. Helpful commands to check your kernel versions, releases, codenames etc. Steps to Check Ubuntu Kernel Version. Step 1: Write a command “uname -r” in the terminal window, where uname is used to find the information about the system and ‘r’ stands for the released version. Step 2: You will get the output corresponding to the above command as follows. As technology progresses, developers discover patches and updates to the Linux kernel. These patches can improve security, add functionality, or even improve the speed at which the operating system functions. If you’re running a Linux operating system (like Ubuntu), it’s a good idea to check and update the kernel regularly. Uname -a for all information regarding the kernel version, uname -r for the exact kernel version. Lsbrelease -afor all information related to the Ubuntu version, lsbrelease -r for the exact version. Sudo fdisk -l for partition information with all details. For more understandable information regarding paritions, please use commands given in. The preferred method to check your Ubuntu version is to use the lsbrelease utility which displays LSB (Linux Standard Base) information about the Linux distribution. This method will work no matter which desktop environment or Ubuntu version you are running. Follow the steps below to check Ubuntu version from the command line. There are couple of ways to check which version of Ubuntu you are running. Also which version of Linux kernel and is it 32 bit or 64 bit. Also I will give you couple of more terminal commands that will print some useful system info.

The kernel version output from above
can be interpreted with the following key:
2.6.32-431.11.2.el6.x86_64
2=The Main Kernel Version
6=The Major Revision
32=The Minor Revision
431.11.2.el6=The Minor Fix/Revision Detail

For more information and options, we can review the manual page (or simply the man page) for uname. The man page provides the following additional information:

Linux kernel version history

NAME: uname - print system information
SYNOPSIS: uname [OPTION]..
DESCRIPTION: Print certain system information. With no OPTION, same as -s.
-a, --all
print all information, in the following order, except omit -p and -i if unknown:
-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 (non-portable)
-i, --hardware-platform
print the hardware platform (non-portable)
-o, --operating-system
print the operating system
--help display this help and exit
--version
output version information and exit
Full documentation at: <https://www.gnu.org/software/coreutils/uname>
or available locally via: info '(coreutils) uname invocation'

If you have thoughts or questions about how to locate your kernel version or any other information about your server, simply open a ticket with us at support@liquidweb.com, give us a call at 800-580-4985 or, open a chat with us to speak to one of our Level 3 Support Admins or a Solutions Advisor today!

As always, thank you for hosting with Liquidweb!

Download microsoft picture it 10 Your system will remain clean, speedy and ready to serve you properly.

Video authored by Justin Palmer.

Ubuntu Check Linux Kernel Version

Related Articles:

Comments are closed.