This method gives the most appropriate answer on older Linux Distributions:
cat /etc/issue
This method works best on modern Linux distributions:
cat /etc/os-release
This method gives the most appropriate answer on older Linux Distributions:
cat /etc/issue
This method works best on modern Linux distributions:
cat /etc/os-release