bash: netstat: command not found - Debian/Ubuntu Linux

川长思鸟来 2022-05-20 02:22 269阅读 0赞

If you are looking for the netstat command and getting error:

  1. bash: netstat: command not found

This simply means that the relevant package net-tools which includes netstat executable is not installed, thus missing. The package net-tools may not be installed on your system by default so you need to install it manually.

The package also includes aditional utilisties such as arp , ifconfig , netstat , rarp , nameif and route .
To make netstat available on your system simply install the net-tools package using the bellow command:

  1. # apt-get install net-tools

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

发表评论

表情:
评论列表 (有 0 条评论,269人围观)

还没有评论,来说两句吧...

相关阅读