[Root @ localhost ~] # Cat/etc/OS-releaseNAME = & quot; CentOSLinux & quot; VERSION = & quot; 7 (Core) & quot; [root @ localhost ~] # Cat/etc/redhat-releaseCentOSLinux
[Root @ localhost ~] # Cat/etc/OS-release
NAME = "CentOS Linux"
VERSION = "7 (Core )"
[Root @ localhost ~] # Cat/etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
[Root @ localhost ~] #
[Root @ localhost ~] # Rpm-q centos-release
Centos-release-7-1.1503.el7.centos.2.8.x86_64
[Root @ localhost ~] #
[Root @ localhost ~] # Uname-
Linux localhost. localdomain 3.10.0-229. el7.x86 _ 64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[Root @ localhost ~] #
[Root @ localhost ~] # Cat/proc/version
Linux version 3.10.0-229. el7.x86 _ 64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) #1 SMP Fri Mar 6 11:36:42 UTC 2015
[Root @ localhost ~] #
[Root @ localhost ~] # Cat/etc/issue
\ S
Kernel \ r on an \ m
[Root @ localhost ~] #
[Root @ localhost ~] # 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] = 0xec333a424e045327c5e3d0ca6dda16c610a210f3, stripped
[Root @ localhost ~] #
// LSB --- Linux Standard Base
[Root @ localhost yum. repos. d] # lsb_release-
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
[Root @ localhost yum. repos. d] #