How to find Linux kernel version. I am using Ubuntu 16.04 while writing this article. But these commands are generic and can be used on Fedora, Debian, CentOS, SUSE Linux or any other Linux distribution. In this article, we are 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. Learn how to check Linux kernel version using command line. Helpful commands to check your kernel versions, releases, codenames etc. I am a new Ubuntu Linux user and purchased a laptop from Dell with per-installed Ubuntu operating systems. How do I find the Linux kernel version and Ubuntu release version using the terminal application? On Ubuntu Linux you can use the following commands to find out the information about the Linux.
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. And that's how you can check out your Ubuntu version and other System properties! Also, check out the neofetch tool you can easily use to populate system information. We hope this guide has been helpful. Drop your comments and feel free to share on your social platforms. Read Also: How to Remove Old kernel Versions from Boot on Ubuntu 18.04. Want to find out which kernel version you are running? The Linux kernel is much like the central brain of the operating system. Although it is open-source – meaning anyone can view and modify the code – the Linux kernel is built with multiple protocols to ensure stability and security. This guide will walk you through how to check the Linux.
Reading Time: 2minutesIn 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:
2.6.32-431.11.2.el6.x86_64
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:
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'
Ubuntu Linux Kernel Version Check
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!
Check Ubuntu Kernel Version Terminal
Video authored by Justin Palmer.