Linux - 实战 - 如何判断系统是Centos还是Ubuntu
方式一radhat或centos存在: /etc/redhat-release 这个文件cat /etc/redhat-releaseubuntu存在 : /etc/lsb-release 这个文件cat etc/lsb-release方式二看看安装指令,有yum的就是Centosyum -help有apt-get的就是Ubuntuapt-get -help...
·
更多推荐
已为社区贡献1条内容
所有评论(0)