Here we’re going to tell you some commands with the help of you can find the version of your operating system.

Redhat Version

  1. hostnamectl

2. cat /redhat-release

3. cat /etc/system-release

CentOs Version

  1. cat /centos-release
  2. rpm –query centos-release
  3. lsb_release –d

You’re done

Sponsored

LEAVE A REPLY

Please enter your comment!
Please enter your name here