How to check Linux Kernel Version

  1. uname Command

uname –r

The system will return a numeric code, for example:

3.10.0-957.21.2.

Each number, separated by a dot or hyphen, is part of a code:

  • 3 – This is the main kernel version
  • .10 – This is the major release version
  • .0 – This is the minor revision level
  • -957 – This is the level of patches and bug fixes

2. hostnamectl Command

hostnamectl

3. Display the /proc/version File

cat /proc/version

4. dmesg Command

dmesg | grep Linux

Leave a Reply 0

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