How to check CentOS version via command line?

Hi,

I have a linux machine and i don't know the version of the CentOS operating system installed on it.

I can login to the console using ssh and want to know the version of CentOS system installed on it.

How to check CentOS version via command line?

Thanks

View Answers

March 17, 2018 at 11:35 PM

Hi,

CentOS is popular Linux server and desktop operating system. You can find the CentOS version installed with the help of following command:

cat /etc/redhat-release

or

cat /etc/*elease

and then it will show you the details.

Thanks









Related Tutorials/Questions & Answers:
Advertisements