查看当前操做系统是ubuntu仍是centos

查看当前操做系统是ubuntu仍是centos ubuntu 一、执行: lsb_release -acentos 二、命令: cat /etc/redhat-releasespa 三、命令: cat /etc/issue操作系统 总结:实际上是看有没有某个文件:blog radhat或centos存在: /etc/redhat-release 这个文件【 命令 cat /etc/redhat-r
相关文章
相关标签/搜索