0
点赞
收藏
分享

微信扫一扫

如何看linux是ubuntu还是centos

Python百事通 2023-03-07 阅读 64


radhat或centos存在:/etc/redhat-release 这个文件
debian或ubuntu 存在 /etc/debian_version 这个文件
Slackware存在 /etc/slackware_version 这个文件


ubuntu存在 /etc/lsb-release 这个文件

举报

相关推荐

0 条评论