Home >Operation and Maintenance >Linux Operation and Maintenance >How to check the linux kernel version

How to check the linux kernel version

(*-*)浩
(*-*)浩Original
2019-05-30 15:33:276626browse

Let’s introduce the command to view the kernel in Linux?

How to check the linux kernel version

Linux view kernel version command

uname -r
或
cat /proc/version

View distribution version

cat /etc/issue
或
cat /etc/redhat-release(cat /etc/centos-release)

The meaning of version number

There are two types of Linux kernel versions: stable version (minor version is an even number) and development version (minor version is an odd number)

Version number: major version. minor version. release version - modified version

Such as:

2.6.32-642.el6.x86_64

3.10.0-693.17.1.el7.x86_64

Note:

el represents Enterprise Linux, 6 represents Centos6

x86_64 represents the CPU structure , that is, 64-bit

Generally use the first two numbers (major and minor versions) to describe the kernel series

Release version: While the major and minor version architecture remains unchanged, the new functions are accumulated The kernel version released after reaching a certain level

Modified version: modify some bugs, etc.

The above is the detailed content of How to check the linux kernel version. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn