How to find Kernel Version in ubuntu | Linux mint | Debian based OS

Find linux kernel version

I am using linux mint 19 while writing these article. But these command generic can be used ubuntu, ubuntu mate and debian based Linux Distributions.

  1. Finding Kernel Version through uname command
uname is a computer program that in unix and unix-like computer operating systems that prints the name, version and other details about the current machine and the operating system running on it.
Note: you can use these command bot 32-bit and 64-bit system.
Open the terminal and use following command ( do copy/paste for spelling mistake)

uname -a

Note: this command is for all information regarding the kernel version

uname -r


  The output will be like 4.15.0-45-generic
this means you are running linux kernel version 4.15.0-45 or in more generic terms, you are running linux kernel version 4.15.

Also the other digit means:
 4 - kernel version
15- Major Version
0-Minor version
45- Bug fixes
generic- distribution specific string.For linux min it means i am using desktop version. if it's server version it should be 'server'.
 

Note: this command is for the exact kernel version

lsb_release -a 



Note: this command is for the all information related to the linux distro version 

lsb_release -r



Note: this command is for the exact version of the distro
  
2. Finding Kernel Version through /proc/version
 you can also find the linux kernel version through the /proc/version file.
 cat /proc/version



Note: you will see the output similar uname -a


You can use uname for more convenient.

 

Post a Comment

Previous Post Next Post