grap . /etc/*-release
[root@localhost etc]# grep . /etc/*-release
/etc/centos-release:CentOS Linux release 7.2.1511 (Core)
/etc/os-release:NAME="CentOS Linux"
/etc/os-release:VERSION="7 (Core)"
/etc/os-release:ID="centos"
/etc/os-release:ID_LIKE="rhel fedora"
/etc/os-release:VERSION_ID="7"
/etc/os-release:PRETTY_NAME="CentOS Linux 7 (Core)"
/etc/os-release:ANSI_COLOR="0;31"
/etc/os-release:CPE_NAME="cpe:/o:centos:centos:7"
/etc/os-release:HOME_URL="https://www.centos.org/"
/etc/os-release:BUG_REPORT_URL="https://bugs.centos.org/"
/etc/os-release:CENTOS_MANTISBT_PROJECT="CentOS-7"
/etc/os-release:CENTOS_MANTISBT_PROJECT_VERSION="7"
/etc/os-release:REDHAT_SUPPORT_PRODUCT="centos"
/etc/os-release:REDHAT_SUPPORT_PRODUCT_VERSION="7"
/etc/redhat-release:CentOS Linux release 7.2.1511 (Core)
/etc/system-release:CentOS Linux release 7.2.1511 (Core)
[root@localhost etc]#
'Linux' 카테고리의 다른 글
iconv euckr to utf8 파일명 (0) | 2016.12.06 |
---|---|
텍스트파일 텍스트 치환 (0) | 2016.12.06 |
Centos 배포판 구분 (0) | 2016.10.21 |
CenOS 7 토렌토 서버 설정 모든 것 transmission-daemon 403 (0) | 2016.03.06 |
CenOS 7 vsftpd 포트변경 및 passive mode 설정 (0) | 2016.02.29 |