linux安装和查看lsb_release命令

[root@localhost opt]# which lsb_release              
/usr/bin/lsb_release
[root@localhost opt]#
[root@localhost opt]# rpm -qifl /usr/bin/lsb_release
Name        : redhat-lsb-core
Version     : 4.1
Release     : 24.el7
Architecture: x86_64
Install Date: Tue 21 Apr 2015 12:51:57 AM CST
Group       : System Environment/Base
Size        : 45789
License     : GPLv2
Signature   : RSA/SHA256, Fri 04 Jul 2014 12:48:03 PM CST, Key ID 24c6a8a7f4a80eb5
Source RPM  : redhat-lsb-4.1-24.el7.src.rpm
Build Date  : Wed 18 Jun 2014 01:34:44 AM CST
Build Host  : worker1.bsys.centos.org
Relocations : (not relocatable)
Packager    : CentOS BuildSystem <http://bugs.centos.org>
Vendor      : CentOS
URL         : http://www.linuxfoundation.org/collaborate/workgroups/lsb
Summary     : LSB Core module support
Description :
The Linux Standard Base (LSB) Core module support provides the fundamental
system interfaces, libraries, and runtime environment upon which all conforming
applications and libraries depend.
/bin/redhat_lsb_init
/etc/lsb-release.d
/etc/lsb-release.d/core-4.1-amd64
/etc/lsb-release.d/core-4.1-noarch
/etc/redhat-lsb
/etc/redhat-lsb/lsb_killproc
/etc/redhat-lsb/lsb_log_message
/etc/redhat-lsb/lsb_pidofproc
/etc/redhat-lsb/lsb_start_daemon
/lib/lsb
/lib/lsb/init-functions
/lib64/ld-lsb-x86-64.so.3
/usr/bin/lsb_release
/usr/lib/lsb
/usr/lib/lsb/install_initd
/usr/lib/lsb/remove_initd
/usr/sbin/redhat_lsb_trigger.x86_64
/usr/share/doc/redhat-lsb-core-4.1
/usr/share/doc/redhat-lsb-core-4.1/COPYING
/usr/share/doc/redhat-lsb-core-4.1/README
/usr/share/doc/redhat-lsb-core-4.1/README.lsb_release
/usr/share/lsb/4.1/modules/core
/usr/share/lsb/4.1/modules/core/core-4.1-amd64
/usr/share/lsb/4.1/modules/core/core-4.1-noarch
/usr/share/lsb/4.1/modules/core/security-4.1-amd64
/usr/share/lsb/4.1/modules/core/security-4.1-noarch
/usr/share/lsb/4.1/submodules/core-4.1-amd64
/usr/share/lsb/4.1/submodules/core-4.1-noarch
/usr/share/man/man1/lsb_release.1.gz
[root@localhost opt]#
[root@localhost opt]#
[root@localhost opt]#
[root@localhost opt]# 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.0.1406 (Core)
Release:        7.0.1406
Codename:       Core
[root@localhost opt]#

你可能感兴趣的:(linux,安装,查看,lsb_release)