Terminal下查看Ubuntu操作系统位数及版本

原文:https://www.linuxidc.com/Linux/2014-05/101121.htm

我们要查看Ubuntu操作系统的位数是32位还是64位,可以通过以下命令来查看:

#查看long的位数,返回32或64

可以在终端terminal下输入命令:getconf LONG_BIT

getconf LONG_BIT

Terminal下查看Ubuntu操作系统位数

#查看文件信息,包含32-bit就是32位,包含64-bit就是64位

也可以输入:uname -a

uname -a

Terminal下查看Ubuntu操作系统位数及版本

Linux ubuntu 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:08:14 UTC 2014 i686 i686 i686 GNU/Linux

i686 就表示32位

扫描二维码关注公众号,回复: 4045619 查看本文章

查看Ubuntu版本

可以在终端输入命令: lsb_release -a

lsb_release -a

Terminal下查看Ubuntu操作系统位数

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty


猜你喜欢

转载自blog.csdn.net/perfect1t/article/details/81007357