$ cat /etc/redhat-release # CentOS Linux release 7.4.1708 (Core)
$ cat /etc/centos-release # CentOS Linux release 7.4.1708 (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/system-release
CentOS Linux release 7.4.1708 (Core)
Last active
July 25, 2018 08:39
-
-
Save goddoe/65a6047edf2a86aee899cef35cffde59 to your computer and use it in GitHub Desktop.
check os version
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment