There are several ways on how to check what version of CentOS is running on your system. Below you can find multiple examples on how to determine CentOS version. However, depending on your system not all examples may be applicable. First, example uses hostnamectl command: # hostnamectl
hostnamectl
The next example uses rpm command to do query for centos-release package to reveal CentOS version: # rpm --query centos-release
rpm
centos-release
lsb_release
redhat-lsb
# lsb_release -d
cat
# cat /etc/centos-release CentOS Linux release 7.1.1503 (Core) # cat /etc/os-release NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7" # cat /etc/redhat-release CentOS Linux release 7.1.1503 (Core) # cat /etc/system-release CentOS Linux release 7.1.1503 (Core)
Trouble logging in? Simply enter your email address OR username in order to reset your password.
For faster and more reliable delivery, add SupportTeam@TechHausHost.com to your trusted senders list in your email software.