Saturday, 7 April 2018

How to find out OS version in Centos7/RHEL7



How to get the version/distribution/ release information of Linux that is running Centos7/RHEL7 via command line?


The version/distribution/ release information is stored in /etc/redhat-release. Just run the following command:

[root@linuxcnf ~]# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
[root@linuxcnf ~]#

Done!!!

No comments:

Post a Comment