首页 > 其他 > 详细

特殊场景下,如何判断当前系统的发行版。

时间:2018-07-16 18:26:37      阅读:159      评论:0      收藏:0      [点我收藏+]
[root@localhost ~]# cat /etc/*release
CentOS Linux release 7.4.1708 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"

特殊场景下,如何判断当前系统的发行版。

原文:http://blog.51cto.com/13859004/2144999

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!