centos總結一些常見的command not found的安裝包

當不知道某個命令是哪個包裝時,可以在已經有這個命令的主機上用下面的命令確定是哪個安裝包安裝的

    #yum whatprovides 命令路徑或者命令的絕對路徑

    例:#yum whatprovides /usr/sbin/ss

    wKiom1iagAijJlkSAABInbuTAsc718.png

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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章