方式一:
radhat或centos存在: /etc/redhat-release 这个文件【 命令 cat /etc/redhat-release
ubuntu存在 : /etc/lsb-release 这个文件 【命令 cat etc/lsb-release
方式二:
看看安装指令,
有yum的就是Centos【yum -help】,
有apt-get的就是Ubuntu 【apt-get -help】。

相关文章:

  • 2022-01-09
  • 2022-01-31
  • 2021-12-05
  • 2021-12-18
  • 2021-11-08
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
相关资源
相似解决方案