linux 命令属于哪一个RPM包 什么版本
[root@lb ~]# yum whatprovides
*bin/ntsysvLoaded plugins: fastestmirror,
security
Loading mirror speeds from cached hostfile
* base: mirrors.tuna.tsinghua.edu.cn
* epel: mirrors.hust.edu.cn
* extras: mirrors.btte.net
* updates: mirrors.btte.net
ntsysv-1.3.49.3-2.el6_4.1.x86_64 : A tool to set the stop/start of
system services in a runlevel
Repo : base
Matched from:
Filename : /usr/sbin/ntsysv
ntsysv-1.3.49.3-2.el6_4.1.x86_64 : A tool to set the stop/start of
system services in a runlevel
Repo : installed
Matched from:
Filename : /usr/sbin/ntsysv
另一种方法
[root@lb ~]# rpm -qf
/usr/sbin/ntsysv
ntsysv-1.3.49.3-2.el6_4.1.x86_64
[root@lb ~]# rpm -qi ntsysv
Name :
ntsysv Relocations: (not relocatable)
Version :
1.3.49.3 Vendor: CentOS
Release :
2.el6_4.1 Build Date: Mon 23 Sep 2013 05:07:36 PM CST
Install Date: Mon 23 Jun 2014 02:35:11 PM
CST Build Host: c6b9.bsys.dev.centos.org
Group : System
Environment/Base Source RPM: chkconfig-1.3.49.3-2.el6_4.1.src.rpm
Size :
26697 License: GPLv2
Signature : RSA/SHA1, Mon 23
Sep 2013 11:53:48 PM CST, Key ID 0946fca2c105b9de
Packager :
CentOS BuildSystem <
href="http://bugs.centos.org">http://bugs.centos.org>
Summary : A tool to set the stop/start of system services in a
runlevel
Description :
Ntsysv provides a simple interface for setting which system
services
are started or stopped in various runlevels (instead of
directly
manipulating the numerous symbolic links in /etc/rc.d). Unless
you
specify a runlevel or runlevels on the command line (see the
man
page), ntsysv configures the current runlevel (5 if you're using
X).