Which Version of CentOS Is This Server Running?

You are viewing an old revision of this post, from May 27, 2016 @ 11:47:23. See below for differences between this version and the current revision.

Just parking this here. Most of the servers I maintain run CentOS, and occasionally I need to know which version of CentOS they’re running. For the servers I maintain, all of these works from the command line to return the version, though the RPM command¬†gives the most detailed information.

# rpm --query centos-release

or

# lsb_release -d

or

cat /etc/centos-release

Post Revisions:

Changes:

There are no differences between the May 27, 2016 @ 11:47:23 revision and the current revision. (Maybe only post meta information was changed.)

Leave a Reply