How To Get Linux Kernel Version? – POFTUT

How To Get Linux Kernel Version?

Linux kernel is the core of the Linux based operating systems we call them simply Linux. But sometimes they called Linux Distributions. Kernel initialize system with hardware. Manages hardware to provide services for upper layer operating system application. Kernel do memory management which means allot memory for applications or frees the memory. Manages processes by creating, forking or killing them. Now some little Linux kernel history.

Release History

  • 1.0 kernel released 1994
  • 2.0 kernel released 1996
  • 3.0 kernel released 2011
  • 4.0 kernel released 2015

Generally version exist major,minor numbers.

Linux Kernel Version Map

Linux Kernel Version Map

How To Get Kernel Version With uname

We can get kernel related information with uname . One of information uname provides is kernel version.

How To Get Kernel Version With uname

How To Get Kernel Version With uname

  • We provide -a to the uname  to get all information

  • -r parameter will provide kernel version
  • is the major version number
  • 10 is minor version number
  • other part is build number
  • x86_64 is architecture of the kernel which is x86 64 bit

Print Kernel Version From /proc/version File

/proc directory provides different information about the Linux system. Linux kernel version is also provided from /proc/version file. We will use cat command in order to print Linux kernel version.

Print Kernel Version From /proc/version File

Print Kernel Version From /proc/version File

Get Kernel Version From dmesg

dmesg is a tool used to print kernel level logs. Especially from system startup different type of logs are provided. During to the the kernel is loaded and the version information also provided to the dmesg log. We can use dmesg to print Linux kernel version information.

LEARN MORE  What Version Of Windows Do I Have?

Get Kernel Version From dmesg

Get Kernel Version From dmesg

 

How To Get Linux Kernel Version? Infografic

How To Get Linux Kernel Version? Infografic

How To Get Linux Kernel Version? Infografic

1 Response

  1. 12/09/2019

    […] operating system which mainly provide system resources to the applications and high level services. Linux kernel management resources like RAM, CPU, Disk, Input/Output Graphics etc. Linux kernel also manage […]

Leave a Reply

Your email address will not be published. Required fields are marked *

Enjoy this blog? Please spread the word :)