Linux工作笔记022---查看Centos 内核版本号

  JAVA技术交流QQ群:170933152

查看全部信息:

[zhangsan@localhost ~]$ uname -a
Linux localhost.localdomain 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
  •  

查看linux内核信息:

[zhangsan@localhost ~]$ uname -r
3.10.0-693.el7.x86_64
  •  

查看linux版本号:

[zhangsan@localhost ~]$ cat /etc/redhat-release 
CentOS Linux release 7.4.1708 (Core)

猜你喜欢

转载自blog.csdn.net/lidew521/article/details/81559212