Linux下查看版本信息

1、uname -a(Linux查看版本当前操作系统内核信息)
Linux localhost.localdomain 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
2、cat /proc/version (Linux查看当前操作系统版本信息)
Linux version 3.10.0-514.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Tue Nov 22 16:42:41 UTC 2016
3、cat /etc/issue 或cat /etc/redhat-release (Linux查看版本当前操作系统发行版信息)
CentOS Linux release 7.3.1611 (Core)
4、getconf LONG_BIT
64
5、 lsb_release -a

你可能感兴趣的:(centos)