I'm starting to work with a box that has a custom (small) Linux build on it. How can I tell whether this is a Debian or Red Hat-based build?This is what I know so far: $ cat /proc/versionLinux 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
How can I tell whether a build is Debian-based?
debian;distros
Running uname -a should give you some general information about the system. Also, you can run apropos package manager or with similar keywords to hopefully find out more about the package manager. Look in /etc for a file named xyz-release where xyz should be whatever distro is running.