debian下运行netstat失败

来源:互联网 发布:怎么开通淘宝子账号 编辑:程序博客网 时间:2024/06/06 03:12

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

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

apt-get install net-tools

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

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

原创粉丝点击