Home  >  Article  >  Computer Tutorials  >  Check the Kirin operating system version and kernel version

Check the Kirin operating system version and kernel version

WBOY
WBOYforward
2024-02-21 19:04:222204browse

Check the Kirin operating system version and kernel version

Check the Kirin operating system version and kernel version

In Kirin Operating System, knowing how to check the system version and kernel version is the basis for system management and maintenance.

Check the Kirin operating system version

Method 1: Use

/etc/.kyinfo
File

To check the version of Kylin operating system, you can check

/etc/.kyinfo
file. This file contains operating system version information. Execute the following command:

cat /etc/.kyinfo

This command will display detailed version information of the operating system.

Method 2: Use

/etc/issue
File

Another way to check the operating system version is by looking at

/etc/issue
file. This file also provides version information, but may not be as good as

.kyinfo
File details. Execute the following command:

cat /etc/issue

With this command, you can quickly obtain summary information of the system version.

Check the kernel version

The standard way to check the Kirin OS kernel version is to use

uname
command, with

-r
options. Execute the following command:

uname -r

This command will output the currently running kernel version number.

Sample output parsing

After executing the above command, you may see an output example similar to the following:

############## Kylin Linux Version #################
<br>
Release:
<br>
Kylin Linux Advanced Server release V10 (Sword)
<br>


<br>
Kernel:
<br>
4.19.90-25.24.v2101.ky10.aarch64
<br>


<br>
Build:
<br>
Kylin Linux Advanced Server release V10 (SP2) /(Sword)-aarch64-Build09/20210524
<br>
#################################################
  • Release
    : Display the release name and version of the operating system, such as

    Kylin Linux Advanced Server release V10 (Sword)
    .

  • Kernel
    : Displays the kernel version used by the current operating system, for example

    4.19.90-25.24.v2101.ky10.aarch64
    , here

    aarch64
    means the 64-bit version for the ARM architecture.

  • Build
    : Provides a specific build version and date, such as

    Kylin Linux Advanced Server release V10 (SP2) /(Sword)-aarch64-Build09/20210524
    , indicating that this is the second service pack of the V10 version, the build number is 09, build The date is May 24, 2021.

Through the above method, you can easily check and understand your Kirin operating system version and kernel version, which is very important information for system management, updates and troubleshooting.

The above is the detailed content of Check the Kirin operating system version and kernel version. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:mryunwei.com. If there is any infringement, please contact admin@php.cn delete