查看當前操做系統是ubuntu仍是centos

查看當前操做系統是ubuntu仍是centosubuntu 一、執行: lsb_release -acentos 二、命令: cat /etc/redhat-release操作系統 三、命令: cat /etc/issue.net   總結:實際上是看有沒有某個文件:blog radhat或centos存在: /etc/redhat-release 這個文件【 命令 cat /etc/redhat
相關文章
相關標籤/搜索