我开始使用一个带有自定义(小型)Linux 构建的盒子。如何判断这是基于 Debian 还是基于 Red Hat 的构建?
这是我目前所知道的:
$ cat /proc/version
Linux version 2.6.31-2.5 (build@build-desktop) (gcc version 4.4.3 (Broadcom stbgcc-4.4.3-1.2) ) #7
$ apt-get
-sh: apt-get: command not found
$ yum
-sh: yum: command not found
Run Code Online (Sandbox Code Playgroud)