It displays LSB (Linux Standard Base) information about the Linux distribution. The lsb_release command is a helpful utility to find out information about our Linux installation. Linux 4.18.86_64 #1 SMP Thu Apr 29 08:54: x86_64 x86_64 x86_64 GNU/Linux Check Redhat version from /proc/versionĪnother way to check Redhat version is using cat /proc/version.This command will list the version of the Linux kernel, the version of gcc, the Redhat version, and the time of kernel compilation. This command is used to print our redhat system information such as kernel version and release name, network hostname, machine hardware name, processor architecture, hardware platform and the operating system. 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. and yum install or dnf install will default to selecting the latest version. You can easily get Redhat version using cat /etc/os-release command. Red Hat Enterprise Linux: RHEL Fedora: fedora Amazon Linux: AmazonLinux. 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.
0 Comments
Leave a Reply. |