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

How to check the kernel version in linux

little bottle
Release: 2019-05-30 14:45:35
Original
21546 people have browsed it

A friend wants to check the Linux kernel version number when using Linux. How should he check it? A friend also asked how to check the Linux system version information? Let’s find out more with the editor below.

How to check the kernel version in linux

1. Check the linux kernel version number

1: Log in to linux and enter cat /proc/version

in the terminal

2: Log in to Linux and enter uname -a in the terminal to list the Linux kernel version number.

2. Check the Linux system version information

1: Log in to the Linux server and execute the lsb_release-a command to view all version information.

2: Log in to linux and execute cat /etc/issue (remember to leave a space after cat) to see the version information.

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: When the structure of the major and minor versions remains unchanged, the new functions will be released after accumulating to a certain extent. Kernel version

Modified version: modify some bugs, etc.

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

Related labels:
source:php.cn
Statement of this Website
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
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template