当不知道某个命令是哪个包装时,可以在已经有这个命令的主机上用下面的命令确定是哪个安装包安装的
#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
本文出自 “激情燃烧的岁月” 博客,请务必保留此出处http://liuzhengwei521.blog.51cto.com/4855442/1895939
centos总结一些常见的command not found的安装包
原文:http://liuzhengwei521.blog.51cto.com/4855442/1895939