首页 > 问答 > 正文
shell脚本中如何判断是哪个发行版?
学习ing2017-06-19 09:09:26
查看操作系统:
lsb_release -a
查看shell版本,如果你用的是bash,其他类型的shell以此类推:
bash --version