カテゴリ:

Many Linux distributions has file name with release in /etc.

$ ls /etc/*-release
/etc/redhat-release

If you open the file, it tells you a version of the distribution.

$ cat /etc/redhat-release
CentOS release 4.6 (Final)