最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

查看Linux OS內(nèi)核與版本的幾種命令分享

 更新時間:2024年11月29日 14:29:26   作者:零時搞學(xué)習(xí)  
文章總結(jié)了四種在Linux操作系統(tǒng)中查看內(nèi)核和版本的方法,并強調(diào)了個人經(jīng)驗的價值,鼓勵大家參考和使用

查看Linux OS內(nèi)核與版本的幾種命令

方法一

[root@localhost ~]# cat /etc/os-release
NAME="openEuler"
VERSION="23.03"
ID="openEuler"
VERSION_ID="23.03"
PRETTY_NAME="openEuler 23.03"
ANSI_COLOR="0;31"

方法二

[root@localhost ~]# cat /proc/version
Linux version 6.1.19-7.0.0.17.oe2303.x86_64 (root@dc-64g.compass-ci) (gcc_old (GCC) 10.3.1, GNU ld (GNU Binutils) 2.37) #1 SMP PREEMPT_DYNAMIC Tue Mar 28 00:01:02 CST 2023

方法三

[root@localhost ~]# uname -a
Linux localhost.localdomain 6.1.19-7.0.0.17.oe2303.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 28 00:01:02 CST 2023 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost ~]#

方法四

#需要系統(tǒng)有包支持,沒有的話需要聯(lián)網(wǎng)安裝,如下所示
[root@ss /]# lsb_release -a
bash: lsb_release: command not found...
Install package 'redhat-lsb-core' to provide command 'lsb_release'? [N/y] y


 * Waiting in queue...
 * Loading list of packages....
The following packages have to be installed:
 esmtp-1.2-15.el8.x86_64        User configurable send-only Mail Transfer Agent
 libesmtp-1.0.6-18.el8.x86_64   SMTP client library
 liblockfile-1.14-1.el8.x86_64  This implements a number of functions found in -lmail on SysV systems
 m4-1.4.18-7.el8.x86_64 The GNU macro processor
 mailx-12.5-29.el8.x86_64       Enhanced implementation of the mailx command
 ncurses-compat-libs-6.1-9.20180224.el8.x86_64  Ncurses compatibility libraries
 patch-2.7.6-11.el8.x86_64      Utility for modifying/upgrading files
 redhat-lsb-core-4.1-47.el8.x86_64      LSB Core module support
 redhat-lsb-submod-security-4.1-47.el8.x86_64   LSB Security submodule support
 spax-1.5.3-13.el8.x86_64       Portable archive exchange
Proceed with changes? [N/y] y


 * Waiting in queue...
 * Waiting for authentication...
 * Waiting in queue...
 * Downloading packages...
 * Requesting data...
 * Testing changes...
 * Installing packages...
LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description:    CentOS Linux release 8.4.2105
Release:        8.4.2105
Codename:       n/a

[root@ss /]# lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description:    CentOS Linux release 8.4.2105
Release:        8.4.2105
Codename:       n/a

總結(jié)

以上為個人經(jīng)驗,希望能給大家一個參考,也希望大家多多支持腳本之家。

相關(guān)文章

最新評論

永新县| 长海县| 都匀市| 桃江县| 永昌县| 侯马市| 惠来县| 山西省| 湖口县| 阿克| 黎川县| 临安市| 大埔县| 新平| 静海县| 陇川县| 西吉县| 邯郸市| 正蓝旗| 正安县| 晴隆县| 西昌市| 兰考县| 琼结县| 林周县| 黑河市| 大竹县| 英山县| 建瓯市| 弥渡县| 汕尾市| 潞城市| 福海县| 扎囊县| 巴马| 巧家县| 星座| 葫芦岛市| 赤峰市| 霍州市| 永丰县|