新聞中心
這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
怎么查看Linux內(nèi)核和系統(tǒng)版本信息-創(chuàng)新互聯(lián)
怎么查看Linux內(nèi)核和系統(tǒng)版本信息?相信大部分人都還沒學(xué)會這個(gè)技能,為了讓大家學(xué)會,給大家總結(jié)了以下內(nèi)容,話不多說,一起往下看吧。
一、查看Linux內(nèi)核版本信息
方法1:登陸Linux,在終端輸入 cat /proc/version
[root@localhost ~]# cat /proc/version Linux version 3.10.0-957.el7.x86_64 (mockbuild@x86-040.build.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Thu Oct 4 20:48:51 UTC 201
方法2:登陸Linux,在終端輸入 uname -a
[root@localhost ~]# uname -a Linux localhost 3.10.0-957.el7.x86_64 #1 SMP Thu Oct 4 20:48:51 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
方法3:登陸Linux,在終端輸入 uname -r
[root@localhost ~]# uname -r 3.10.0-957.el7.x86_64
二、查看Linux系統(tǒng)版本信息
方法1:登陸Linux,在終端輸入 cat /etc/issue
[root@localhost ~]# cat /etc/issue \SKernel \r on an \m
方法2:登陸Linux,在終端輸入 cat /etc/redhat-release
[root@localhost ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.6 (Maipo)
方法3:登陸Linux,在終端輸入 lsb_release -a
[root@localhost ~]# lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch Distributor ID: RedHatEnterpriseServer Description: Red Hat Enterprise Linux Server release 7.6 (Maipo) Release: 7.6 Codename: Maip
上文描述的就是查看Linux內(nèi)核和系統(tǒng)版本信息的方法,具體使用情況還需要大家自己動手實(shí)驗(yàn)使用過才能領(lǐng)會。如果想了解更多相關(guān)內(nèi)容,歡迎關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道!
標(biāo)題名稱:怎么查看Linux內(nèi)核和系統(tǒng)版本信息-創(chuàng)新互聯(lián)
轉(zhuǎn)載來源:http://www.dlmjj.cn/article/hoded.html