1、# uname -a (Linux檢視版本目前作業系統核心資訊) (建議學習:linux教學)
#
[hadoop@admin01 ~]$ uname -a Linux admin01 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[hadoop@admin01 ~]$ cat /proc/version Linux version 2.6.32-358.el6.x86_64 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) ) #1 SMP Fri Feb 22 00:31:26 UTC 2013
[hadoop@admin01 ~]$ cat /etc/issue CentOS release 6.4 (Final) Kernel \r on an \m
[hadoop@admin01 ~]$ cat /etc/redhat-release CentOS release 6.4 (Final)
[root@Rocky opt]# lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: CentOS Description: CentOS Linux release 7.4.1708 (Core) Release: 7.4.1708 Codename: Cor
以上是linux如何查看版本的詳細內容。更多資訊請關注PHP中文網其他相關文章!