matchposa.blogg.se

Rhel current version
Rhel current version







Alternatively, use the below for loop for an instant check:

rhel current version

Use cat to check the content of each file to reveal your Redhat OS version. Namely os-release, redhat-release and system-release:

rhel current version

There are number of release files located in the /etc/ directory. Use rpm command to query Redhat’s release package:Ĭheck Common Platform Enumeration source file:Ĭpe:/o:redhat:enterprise_linux: 7.3:ga:serverĭepending on whether a redhat-lsb package is installed on your system you may also use lsb_release -d command to check Redhat’s system version:ĭescription: Red Hat Enterprise Linux Server release 7.3 (Maipo)Īlternatively install redhat-lsb package with: Operating System: Red Hat Enterprise Linux Server 7.3 (Maipo)ĬPE OS Name: cpe:/o:redhat:enterprise_linux:7.3:GA:server Hostnamectl is most likely the first and last command you need to execute to reveal your RHEL system version: To check a version of other Linux distributions visit our how to check Linux version guide.

  • $ – requires given linux commands to be executed as a regular non-privileged user.
  • # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command.
  • Privileged access to to your RHEL system may be required. For a CentOS specific guide visit How to check CentOS version guide. There exist multiple ways on how to check the system version, however, depending on your system configuration, not all examples described below may be suitable. The objective of this guide is to provide you with some hints on how to check system version of your Redhat Enterprise Linux (RHEL).









    Rhel current version