prashantgpt91
prashantgpt91

Reputation: 1795

check if my OS release is CentOS or not

using cat/etc/redhat-releasegives me output

Red Hat Enterprise Linux Server release 6.5 (Santiago)

Is my OS release CentOS or not? Secondly, How to check? And upon searching I came to know that Santiago is codename for this distribution. Then how Santiago & centOS differs? are they related?

Upvotes: 0

Views: 693

Answers (1)

user559633
user559633

Reputation:

Check out /etc/issue to get additional branding/OS issue on RedHat based operating systems. This has been buggy in the past, so you can additionally check rpm -q centos-release or /etc/os-release.

Note that /etc/issue is meant to be read by the tty, so check out man agetty if you see lines like \S or Kernel \r on an \m and want to know what that means.

Santiago just is a release name for RHEL 6.2.

Finally, for even more information, check out lsb_release -a and you'll see lines for Distributor ID, and Description.

Upvotes: 2

Related Questions