Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the kernelversion command of linux to print the kernel major version number

Shulou Source: shulou.com Published: 2022-06-02 18:41:00 10月04日 Update

This article mainly introduces the use of linux kernel version command print kernel major version number, the text is very detailed, has a certain reference value, interested friends must read!

The kernel version command prints the major version number of the current kernel. The kernelversion command outputs only the major and minor version information of the current kernel. To display more comprehensive kernel information, use the uname command.

Syntax format: kernelversion

Reference Example

Print kernel major version number:

[root@linuxcool ~]# kernelversion2.6 above is to print all the contents of the kernel major version number using the kernelversion command of linux. Thank you for reading! Hope to share the content to help everyone, more relevant knowledge, welcome to pay attention to the industry information channel!

Tags: Kernel version command information content reference value interest example guy partner more format knowledge article industry grammar information information channel channel Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Linux NVidia OPPO Reno Shulou Technology