
We can use uname command to check Redhat version. REDHAT_SUPPORT_PRODUCT=”Red Hat Enterprise Linux” REDHAT_BUGZILLA_PRODUCT=”Red Hat Enterprise Linux 8″ PRETTY_NAME=”Red Hat Enterprise Linux 8.4 (Ootpa)”ĬPE_NAME=”cpe:/o:redhat:enterprise_linux:8.4:GA” Use the following command to know the OS version on our old system: If we are running a very old Linux distribution then we might not be able to use any of the above commands. It will list the Redhat OS distribution name and release version information. All we need is to open the terminal and type cat /etc/os-release. You can easily get Redhat version using cat /etc/os-release command. Commands to Check Redhat versionĬheck Redhat version from /etc/os-release

In this article, we will mostly focus on the command line methods which can be used to check the Redhat version.

In Linux, CLI is preferred over GUI as it provides more control over the OS.

The OS version of a Linux distribution can be determined by using the command-line interface as well as a graphical user interface.
