CentOS: how to check CentOS version

Trabla: CentOS(linux): how to check CentOS version

Solving:

Type command and press enter

cat /etc/*release*

Example:

# cat /etc/*release*
CentOS release 6.5 (Final)
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch
cat: /etc/lsb-release.d: Is a directory
CentOS release 6.5 (Final)
CentOS release 6.5 (Final)
cpe:/o:centos:linux:6:GA

No comments:

Post a Comment