- How to check redhat linux version how to#
- How to check redhat linux version install#
- How to check redhat linux version code#
CIS has worked with the community since 2009 to publish a benchmark. cat /etc/redhat-releaseĪs you can see it is very easy to check the OS version in Linux and there is more than one way to do it. For Red Hat Enterprise Linux 8 (CIS Red Hat Enterprise Linux 8 Benchmark version 1.0.1). You should get output similar to the following: NAME="Ubuntu"Īnother method is to display the contents of the /etc/redhat-release file which should exist on any Red Hat based distribution, such as Red Hat Enterprise Linux, CentOS, Fedora and Oracle Linux. To view the content of the /etc/os-release file, Execute following command: cat /etc/os-release Most Linux distributions have /etc/os-release file which contains all the information you need to know. There are more that one way to find what Linux OS version you are running.
How to check redhat linux version code#
Show the code name of the currently installed distribution. Show the OS version number of the currently installed Linux distribution. How come I have RHEL 5.6 installed on the system rootstation cat /etc/redhat-release Red Hat Enterprise Linux Server release 5. Command Options -i, -idĭisplay the ID/Name of the Linux Distribution (Example: Ubuntu, CentOS, RedHat.).ĭisplay a description of the currently installed operating system, including OS version. For example, Following is the output in my Linux server: LSB Version: :core-4.1-amd64:core-4.1-noarchĭescription: CentOS Linux release (Core)Īs output shows, I am using CentOS Linux version 7. The lsb_release command with the -a option show version information for the Linux OS you’re running. To check the RedHat/CentOS version one can use the lsbrelease command. To determine which version of Linux you are running, Open the command line and execute: lsb_release -a Many tools provided with Red Hat Enterprise Linux also use these. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. With the package installed, we will use the lsb_release command to check Linux version. Welcome to, a friendly and active Linux Community.
How to check redhat linux version install#
On Debian, Ubuntu, Linux Mint, Type: sudo apt-get install lsb-release Find Linux Version with lsb_release command I also ran the command cat /proc/version and also don't know the result it shows below gives any clue or not.
How to check redhat linux version how to#
To instal lsb_release command on RedHat, CentOS and Fedora, Type: sudo yum install redhat-lsb-core Linux auzzaman-lnx 2.6.9-78.ELsmp 1 SMP Wed Jul 9 15:39: i686 i686 i386 GNU/Linux Don't know how to read it for that. The lsb_release command not installed as part of the default installation in some Linux distributions.
One of the options is the lsb_release command. Minimum Required RHEL Version is listed for certified HPE servers and all future minor updates of the indicated major release are supported and certified. To know the version of Linux installed on your computer, there are many options. There are various reasons why you might want to find which Linux distribution you are using or the OS version of your Linux system.
In this tutorial we are going to look at the list of available commands to Check OS version in Linux. How to Check OS version in Linux with lsb_release command