Error “bash: netstat: command not found.”

kumkumsharma

Administrator
Staff member
You will always get this error in linux if you haven’t install netstat command. You have to install net-tools to resolve this error, you have to run below command to install it...

Centos

Code:
yum install net-tools
Ubuntu/Debian

Code:
sudo apt install net-tools
After installing net-tools you can run netstat command without any issue.
 
Top