查看當前操做系統是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
相關文章
相關標籤/搜索