幫助中心
這里有最新的使用文檔和教程
Debian用不了netstat怎么解決?
只需要執(zhí)行apt-get install net-tools 來安裝net-tools工具就可以使用netstat 命令。
Debian系統(tǒng)默認是不帶netstat等命令的,如果使用就會出現(xiàn)下面的錯誤提示
-bash: netstat: command not found
這在日常的運維中是很不方便的,所以可以嘗試下面的解決方案
sudo apt install net-tools
#如果需要ping的話,安裝如下軟件
sudo apt install iputils-ping
低版本的Debian中可能不支持直接 apt ,而是需要 apt-get ,請自行修改上面命令中的 apt
net-tools包含arp, ifconfig, netstat, rarp, nameif and route命令,如果使用這些命令報錯,可以嘗試安裝。