Reputation: 1795
using cat/etc/redhat-release
gives 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
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