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

Copyright © 2021 Primzahl. All rights reserved.

原文地址:https://www.cnblogs.com/Primzahl/p/13523031.html