Linux

To find your Linux distribution and version you can try the following commands:

(Please note that the command output varies for different Linux distros)


1. dmesg | head -1

2. cat /proc/version

3. cat /etc/issue

4. cat /etc/*-release
/etc/SuSE-release for SUSE Linux
/etc/redhat-release for Redhat Linux

5. cat /etc/slackware-version

6. uname -a

7. /etc/debian_version (only for Debian)