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

posted @ 2017-09-25 07:39  立体风  阅读(8709)  评论(1编辑  收藏  举报