not found(bash: xxx command not found)

1、ceontos

bash: ip command not found

yum install -y initscripts
或者
yum install -y iproute2 iproute2-doc

bash: lsof: command not found

yum install -y lsof

bash: pidof: command not found 

yum install -y sysvinit-tools

 

2、ubuntu

 bash: ip command not found

apt install -y iproute2 iproute2-doc

 

3、python

 

posted @ 2020-08-18 13:40  JeromePowell  阅读(321)  评论(0编辑  收藏  举报