How to Check Redhat Version
Question: How to check Redhat version?
Sometimes you may need to check the version of Redhat installed on your machine. Here are some different ways by which you can find the version of Redhat the machine is running.
lsb_release is a command line utility that prints certain LSB (Linux Standard Base) and Distribution information
You need to install “redhat-lsb-core” package.
LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: RedHatEnterpriseServer Description: Red Hat Enterprise Linux Server release 7.3 (Maipo) Release: 7.3 Codename: Maipo
From the above output, 7.3 confirms the machine is running with RHEL 7.3.
You can also get the system version by querying the redhat-release package.
rpm -qa | grep -i redhat-release
Finally, you can also get the Redhat version details by taking a look at /etc/system-release and /etc/redhat-release.
Red Hat Enterprise Linux Server release 7.3 (Maipo)