debian下运行netstat失败

如果提示:bash: netstat: command not found

说明没有安装netstat工具,而该工具在 net-tools 工具包内。

apt-get install net-tools

Ok.再说一句,net-tools包还包含:arp, ifconfig, netstat, rarp, nameif and route这几个工具。

参考:https://linuxconfig.org/bash-netstat-command-not-found-debian-ubuntu-linux

猜你喜欢

转载自blog.csdn.net/shenwansan_gz/article/details/78614838
今日推荐