linux CentOS查看核心版本和系統版本

來源:互聯網
上載者:User

標籤:linux   版本   

查看核心版本


使用uname命令

uname:Print certain system information

[[email protected] ~]# uname -r
2.6.32-431.el6.i686


查看/proc/version

[[email protected] ~]# cat /proc/version
Linux version 2.6.32-431.el6.i686 ([email protected]) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Fri Nov 22 00:26:36 UTC 2013


查看CentOS的版本


[[email protected] ~]# cat /etc/issue
CentOS release 6.5 (Final)
Kernel \r on an \m


查看系統是64位還是32位


[[email protected] ~]# getconf LONG_BIT
32



[[email protected] ~]# file /bin/ls
/bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped


linux CentOS查看核心版本和系統版本

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.