当不知道某个命令是哪个包装时,可以在已经有这个命令的主机上用下面的命令确定是哪个安装包安装的
#yum whatprovides 命令路径或者命令的绝对路径
例:#yum whatprovides /usr/sbin/ss
ss:bash:command not found
yum install iproute -y
ifconfig:bash:command not found
yum install net-tools -y
vim:bash:command not found
yum install vim -y
sar:bash:command not found
yum install sysstat
-bash: brctl: command not found
yum install bridge-utils -y
本文转自激情燃烧的岁月博客51CTO博客,原文链接http://blog.51cto.com/liuzhengwei521/1895939如需转载请自行联系原作者
weilovepan520