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.

Share this Post

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.