How to check Linux Redhat version command

rhel
rhel7

#1

How to check Redhat version ? What command I need to type? Is it uname or something else?


#2

Run any one of the following command to check RedHat Linux version

  1. cat /etc/redhat-release
  2. cat /etc/os-release
  3. hostnamectl
  4. lsb_release -a

For more info please see my tutorials:


And: