Learning Linux distribution name from a running system

When you login remotely to a new system, sometimes you want to learn which distribution is used. You can guess which distribution in used by looking around but there is a simple but not a standart way to this:

In Debian based systems:

cat /etc/debian_versionIn RedHat based systems:

cat /etc/redhat-release

 







You must be login first or sign-up for an account to post comments.