If netstat command not working.

admin/ July 12, 2016/ Linux/ 0 comments

If netstat command not found.

Error like below

bash: netstat: command not found

 

Please install net-tools package.

For Ubuntu-:

sudo apt-get install -y net-tools

For Centos

sudo yum install -y net-tools

For Example-: To check the command is working.

sudo netstat -ntulp

The package also includes aditional utilisties such as arp, ifconfig, netstat, rarp, nameif and route.

Leave a Reply