導航:首頁 > 版本升級 > ubuntu查linux內核版本

ubuntu查linux內核版本

發布時間:2023-07-30 04:38:48

『壹』 如何查看linux或者gcc版本

1. 查看Linux版本
cat/etc/issue
Linaro 12.07 \n \l

2. 查看內核版本
1)cat/proc/version
Linux version 2.6.38-13-generic(buildd@rothera) (gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)) #57-Ubuntu SMP Mon Mar 5 18:10:14 UTC 2012
Linux version 3.4.29+ (ubuntu@linux-server) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #7 PREEMPT Mon Aug 5 13:37:28 CST 2013

2) uname命令
uname-a
Linux ubuntu 2.6.38-13-generic#57-Ubuntu SMP Mon Mar 5 18:10:14 UTC 2012 i686 i686 i386GNU/Linux
Linux ubuntu 3.4.29+ #7 PREEMPT Mon Aug 5 13:37:28 CST 2013 armv7l armv7l armv7l GNU/Linux

[-------------------------------------------------------------------------------
-a, --all print all information, inthe following order, 查看全部信息
except omit -p and -i ifunknown:
-s, --kernel-name print the kernelname 查看內核名字
-n, --nodename print the network nodehostname
-r, --kernel-release print the kernelrelease 查看內核發行版本
-v, --kernel-version print the kernelversion 查看內核版本
-m, --machine print the machinehardware name
-p, --processor print the processortype or "unknown"
-i, --hardware-platform print thehardware platform or "unknown"
-o, --operating-system print theoperating system 查看操作系統
--help display this help andexit
--version output version informationand exit
--------------------------------------------------------------------------------------]
3.查看系統位數
1) getconfWORD_BIT
32
2)file/bin/bash
/bin/bash: ELF 32-bit LSB executable,Intel 80386, version 1 (SYSV), dynamically linked (uses sharedlibs), for GNU/Linux 2.6.15, stripped
/bin/bash: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.31, BuildID[sha1]=, stripped

4. 查看gcc版本
gcc--version
gcc (Ubuntu/Linaro 4.5.2-8ubuntu4)4.5.2
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

『貳』 如何用命令查詢當前ubuntu版本號

1、首先來在桌面點擊源docky上的終端,輸入命令:【cat /etc/issue】。


4、接著復制這個:【uname -a】,如此便能顯示完整的版本信息了的。


5、也可以輸入:【cat /etc/lsb-release】,接著獲得版本的信息情況。因為不同的命令,那麼得到相應的信息也是不一樣的。也可根據你的需要選擇一種方式查看機型。

『叄』 如何查看當前Ubuntu系統的版本

工具原料:電腦+ubuntu

查看當前Ubuntu系統的版本方法如下:

一、more /etc/issue 命令查看

1、Oracle Linux

『肆』 ubuntu14.04的linux內核是多少

ubuntu14.04的內核是最新的linux4.0內核,登陸控制台後uname -a可以查看Linux內核版本。

『伍』 如何查看ubuntu當前linux版本

1,查看內核版本命令:
cat /proc/version

uname -a

uname -rcat /etc/issue

man uname

2,查看linux版本:抄錄如下:

1) 登錄到伺服器執行 lsb_release -a ,即可列出所有版本信息,例如:

[[email protected] ~]# lsb_release -a

LSB Version: 1.3

Distributor ID: RedHatEnterpriseAS

Descrīption: Red Hat Enterprise Linux AS release 4 (Nahant Update 1)

Release: 4

Codename: NahantUpdate1

[[email protected] ~]#

這個命令適用於所有的linux,包括Redhat、SuSE、Debian等發行版。

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

[[email protected] ~]# cat /etc/redhat-release

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

[[email protected] ~]#

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

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

[[email protected] ~]# rpm -q redhat-release

redhat-release-4AS-2.4

[[email protected] ~]#

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

這個release號和實際的版本之間存在一定的對應關系,如下:

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

閱讀全文

與ubuntu查linux內核版本相關的資料

熱點內容
cocoapods版本更新 瀏覽:361
國外it大神教你學習如何編程 瀏覽:312
手機存儲應用程序 瀏覽:284
頁面自適應屏幕如何調整代碼數據 瀏覽:681
jsjson工具 瀏覽:299
資料庫中如何備份一張表的數據 瀏覽:739
網路設備能用到什麼 瀏覽:64
暴風轉碼如何添加文件夾 瀏覽:515
延安整合網路營銷有哪些 瀏覽:74
查找word打開過的文件在哪裡 瀏覽:137
b樹java代碼 瀏覽:683
電腦文件存儲 瀏覽:657
蘭州中考徵集志願在哪個網站 瀏覽:215
cs文件上傳下載 瀏覽:244
拷貝文件到根目錄下重命名linux 瀏覽:603
api函數的頭文件 瀏覽:249
華為怎麼綁定迷你編程 瀏覽:215
機構怎麼申請少兒編程考級 瀏覽:495
崑山數控編程哪裡好學 瀏覽:459
jspcfor跳出 瀏覽:65

友情鏈接