国产成人精品18p,天天干成人网,无码专区狠狠躁天天躁,美女脱精光隐私扒开免费观看

查看linux 版本的常見(jiàn)方法

發(fā)布時(shí)間:2022-10-24 07:13 來(lái)源:群英 閱讀:95 作者:群英 欄目: 主機資訊 歡迎投稿:712375056

 Linux有眾多版本,那么該如何查看Linux具體的版本呢?網(wǎng)上羅列了一下,大致有3種方法,具體教程如下:

    ①登錄到服務(wù)器執行 lsb_release -a ,即可列出所有版本信息,例如:

    [root@3.5.5Biz-46 ~]# lsb_release -a 

    LSB Version: 1.3

    Distributor ID: RedHatEnterpriseAS

    Description: Red Hat Enterprise Linux AS release 4 (Nahant Update 1)

    Release: 4

    Codename: NahantUpdate1

    [root@3.5.5Biz-46 ~]# 

    這個(gè)命令適用于所有的linux,包括Redhat、SuSE、Debian等發(fā)行版。

    ②登錄到linux執行cat /etc/redhat-release ,例如如下:

    [root@3.5.5Biz-46 ~]# cat /etc/redhat-release 

    Red Hat Enterprise Linux AS release 4 (Nahant Update 1)

    [root@3.5.5Biz-46 ~]# 

    這種方式下可以直接看到具體的版本號,比如 AS4 Update 1

    ③登錄到linux執行rpm -q redhat-release ,例如如下

    [root@3.5.5Biz-46 ~]# rpm -q redhat-release

    redhat-release-4AS-2.4

    [root@3.5.5Biz-46 ~]# 

    這種方式下可看到一個(gè)所謂的release號,比如上邊的例子是2.4

    這個(gè)release號和實(shí)際的版本之間存在一定的對應關(guān)系,如下:

    redhat-release-3AS-1 -> Redhat Enterprise Linux AS 3

    redhat-release-3AS-7.4 -> Redhat Enterprise Linux AS 3 Update 4

    redhat-release-4AS-2 -> Redhat Enterprise Linux AS 4

    redhat-release-4AS-2.4 -> Redhat Enterprise Linux AS 4 Update 1

    redhat-release-4AS-3 -> Redhat Enterprise Linux AS 4 Update 2

    redhat-release-4AS-4.1 -> Redhat Enterprise Linux AS 4 Update 3

    redhat-release-4AS-5.5 -> Redhat Enterprise Linux AS 4 Update 4

    注意:第(2)(3)兩種方法只對Redhat Linux有效

來(lái)源鏈接:https://www.qy.cn/zx/idc/807.html

本站聲明:網(wǎng)站內容來(lái)源于網(wǎng)絡(luò ),如有侵權,請聯(lián)系我們,我們將及時(shí)處理。

免責聲明:本站發(fā)布的內容(圖片、視頻和文字)以原創(chuàng )、來(lái)自本網(wǎng)站內容采集于網(wǎng)絡(luò )互聯(lián)網(wǎng)轉載等其它媒體和分享為主,內容觀(guān)點(diǎn)不代表本網(wǎng)站立場(chǎng),如侵犯了原作者的版權,請告知一經(jīng)查實(shí),將立刻刪除涉嫌侵權內容,聯(lián)系我們QQ:712375056,同時(shí)歡迎投稿傳遞力量。

四虎国产精品永久在线无码| 丁香五月亚洲春色| 2020无码专区人妻系列日韩| 亚洲AV无码不卡无码国产| 超级碰碰色偷偷免费视频| 亚洲日韩AV一区二区三区四区|