How to Check Your CentOS Version

Reading Time: < 1 minute

The following command works with all CentOS versions. If you’d like to check your kernel version then visit our tutorial on How To Check the Kernel Version in Linux / Ubuntu / CentOS

Checking your CentOS Version

cat /etc/centos-release

You should receive a result similar to the following:

CentOS release 6.5 (Final)

You can also use:

cat /etc/redhat-release

Need more information on the kernel version? Visit our tutorial on How To Check the Kernel Version in Linux / Ubuntu / CentOS

Avatar for J. Mays

About the Author: J. Mays

As a previous contributor, JMays shares his insight with our Knowledge Base center. In our Knowledge Base, you'll be able to find how-to articles on Ubuntu, CentOS, Fedora and much more!

Latest Articles

How to install PyTorch on Linux (AlmaLinux)

Read Article

Innovative armor — exploring ThreatDown’s impact on cyber defense

Read Article

Controlling PHP settings with a custom php.ini file

Read Article

Linux dos2unix command syntax — removing hidden Windows characters from files

Read Article

Change cPanel password from WebHost Manager (WHM)

Read Article