Getting the Linux version and distribution that you are using
June 20, 2012 in Linux
Sometimes, you may not have the information of the Linux server that you are deploying your applications on. In order to get the Linux version and distribution, all what you need to do is to use the cat command as follows:
cat /etc/*-release
The distribution and version information are stored in the /etc directory with the pattern *-release.
http://linuxmafia.com/faq/Admin/release-files.html