一行很简单的命令,就可以让立刻知道,是centos还是ubuntu,还是debian。

cat /etc/issue