List Common CentOS system view System Information commands
Ps:centos7
1.
Unamelinux
2.
Uname-alinux localhost 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 22:10:57 UTC x86_64 x86_64 x86_64 gnu/linux
3.
Uname-r3.10.0-327.el7.x86_64
4.
Cat/etc/redhat-releasecentos Linux release 7.2.1511 (Core)
5.
Rpm-q centos-releasecentos-release-7-2.1511.el7.centos.2.10.x86_64
If it is Redhat can call # Rpm-q Redhat-release
6.
Lsb_release-a-bash:lsb_release:command not found
The initial installation of CentOS is unable to execute this command because the LSB package is missing and we install the
Yum Install-y LSB
Total 176 bags ... Take a look under
LSB_RELEASE-ALSB 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-noarchdistributor ID:CentOSDescription:CentOS Linux release 7.2.1511 (Core) Release:7.2.1511codename:core
Finish
This article is from the "Seoul and the same Sorrow" blog, please be sure to keep this source http://mannerwang.blog.51cto.com/12009183/1852804
Centos 7 viewing system version information