[root@guohui ~]# 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"
linux——特殊场景下,如何判断当前系统的发行版。
原创
©著作权归作者所有:来自51CTO博客作者沙盒管理员的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
linux的发行版,不同发行版整理
linux版本整理
初始linux版本 -
【简述】发行版Linux系统组成linux
-
常用的Linux发行版
Linux发行版百花齐放【内容摘要】 如今,众多的Linux发行版百花齐放,Linux的阵营日益壮
linux unix 发行版 ubuntu