[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命令
原创
©著作权归作者所有:来自51CTO博客作者hsjz81的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
maven release plugin
maven release plugin
maven git apache -
Sermant重磅更新,1.3.0 release版本发布
Sermant新增服务治理插件:消息队列禁止消费插件。
消息队列 java 服务治理 开源 -
lsb_release: command not found 解决方法(转)
问题:通过lsb_release -a 是查看linux系统版本时报错,具体的解决办法如下: [root
lsb_release centos html bash