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.
/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.
/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.
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.
After executing the above command, you may see an output example similar to the following:
############## Kylin Linux Version #################
Release:
Kylin Linux Advanced Server release V10 (Sword)
Kernel:
4.19.90-25.24.v2101.ky10.aarch64
Build:
Kylin Linux Advanced Server release V10 (SP2) /(Sword)-aarch64-Build09/20210524
#################################################
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!