[Email protected] ~]# cat/etc/os-release
Name= "CentOS Linux"
version= "7 (Core)"
[Email protected] ~]# cat/etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
[Email protected] ~]#
[Email protected] ~]# rpm-q centos-release
Centos-release-7-1.1503.el7.centos.2.8.x86_64
[Email protected] ~]#
[Email protected] ~]# uname-a
Linux localhost.localdomain 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC x86_64 x86_64 x86_64 gnu/linux
[Email protected] ~]#
[Email protected] ~]# cat/proc/version
Linux version 3.10.0-229.el7.x86_64 ([email protected]) (GCC version 4.8.2 20140120 (Red Hat 4.8.2-16) (gcc)) #1 SMP Fri Mar 6 11:36:42 UTC 2015
[Email protected] ~]#
[Email protected] ~]# cat/etc/issue
\s
Kernel \ r on an \m
[Email protected] ~]#
[Email protected] ~]# File/bin/ls
/bin/ls:elf 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for Gnu/linux 2.6.32, BUILDID[SHA1]=0XEC333A104E045327C5E3D0CA6DDA16C610A210F3, stripped
[Email protected] ~]#
LSB---Linux standard Base
#yum Install REDHAT-LSB
[Email protected] yum.repos.d]# lsb_release-a
LSB Version:: core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64: Desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID:CentOS
Description:CentOS Linux release 7.1.1503 (Core)
Release:7.1.1503
Codename:Core
[Email protected] yum.repos.d]#
"CentOS 7.1" view version information