当不知道某个命令是哪个包装时,可以在已经有这个命令的主机上用下面的命令确定是哪个安装包安装的
#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 instlall bridge-utils -y
原文链接:https://www.f2er.com/centos/378827.html