ubuntu查linux内核版本|如何查看ubuntu当前linux版本

|

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

1. 查看Linux版本cat/etc/issueLinaro 12.07 \n \l2. 查看内核版本1)cat/proc/versionLinux version 2.6.38-13-generic([email protected]) (gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)) #57-Ubuntu SMP Mon Mar 5 18:10:14 UTC 2012Linux version 3.4.29+ ([email protected]) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #7 PREEMPT Mon Aug 5 13:37:28 CST 20132) uname命令uname-aLinux ubuntu 2.6.38-13-generic#57-Ubuntu SMP Mon Mar 5 18:10:14 UTC 2012 i686 i686 i386GNU/LinuxLinux 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_BIT322)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]=, stripped4. 查看gcc版本gcc–versiongcc (Ubuntu/Linaro 4.5.2-8ubuntu4)4.5.2gcc (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/versionuname -auname -rcat /etc/issueman uname2,查看linux版本:抄录如下:1) 登录到服务器执行 lsb_release -a ,即可列出所有版本信息,例如:[[email protected] ~]# lsb_release -aLSB Version: 1.3Distributor ID: RedHatEnterpriseASDescrīption: Red Hat Enterprise Linux AS release 4 (Nahant Update 1)Release: 4Codename: NahantUpdate1[[email protected] ~]#这个命令适用于所有的linux,包括Redhat、SuSE、Debian等发行版。2) 登录到linux执行cat /etc/redhat-release ,例如如下:[[email protected] ~]# cat /etc/redhat-releaseRed Hat Enterprise Linux AS release 4 (Nahant Update 1)[[email protected] ~]#这种方式下可以直接看到具体的版本号,比如 AS4 Update 13)登录到linux执行rpm -q redhat-release ,例如如下[[email protected] ~]# rpm -q redhat-releaseredhat-release-4AS-2.4[[email protected] ~]#这种方式下可看到一个所谓的release号,比如上边的例子是2.4这个release号和实际的版本之间存在一定的对应关系,如下:redhat-release-3AS-1 -> Redhat Enterprise Linux AS 3redhat-release-3AS-7.4 -> Redhat Enterprise Linux AS 3 Update 4redhat-release-4AS-2 -> Redhat Enterprise Linux AS 4redhat-release-4AS-2.4 -> Redhat Enterprise Linux AS 4 Update 1redhat-release-4AS-3 -> Redhat Enterprise Linux AS 4 Update 2redhat-release-4AS-4.1 -> Redhat Enterprise Linux AS 4 Update 3redhat-release-4AS-5.5 -> Redhat Enterprise Linux AS 4 Update 4


赞 (0)