CentOS命令显示-bash: 命令: command not found

方法一:

这里以ifconfig举例

yum provides "/*/ifconfig"

yum install -y net-tools-2.0-0.25.20131004git.el7.x86_64       #多个可选安装包时,选择第一个包

注:此方法大都可以解决命令寻找不到问题,但也有例外

方法二:

在有该命令的另一台主机中查询包

猜你喜欢

转载自blog.csdn.net/qq_40836555/article/details/105893534