導航:首頁 > 版本升級 > 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內核版本相關的資料

熱點內容
區分黑蘋果系統文件 瀏覽:853
15寸安卓工業平板電腦 瀏覽:790
如何登陸網站空間 瀏覽:395
pdf文件轉pds 瀏覽:960
微信中怎麼打開攝像頭許可權 瀏覽:371
排名第一的linux 瀏覽:248
jqueryjs是什麼文件 瀏覽:674
如何用別的域名訪問網站 瀏覽:675
站長工具同ip 瀏覽:551
win7系統到win10系統怎麼樣的 瀏覽:329
linux配置iscsi 瀏覽:59
linux文件設置只讀文件 瀏覽:474
信捷數據在哪裡看 瀏覽:941
app與資料是什麼意思 瀏覽:976
WiFi密碼不能用的字元 瀏覽:790
軟體編程如何強制打開瀏覽器網址 瀏覽:353
u盤顯示中病毒文件不見了 瀏覽:796
餓了么app伺服器異常 瀏覽:171
網頁如何調出編程模式 瀏覽:76
如何將家中網路連接更遠 瀏覽:884

友情鏈接