$ cat /etc/*-release
lsb_release Command
The lsb_release command displays certain LSB (Linux Standard Base) and distribution-specific information. Type the following command:
$ lsb_release -a
Reference:
http://www.cyberciti.biz/faq/find-linux-distribution-name-version-number/