bash: netstat: command not found

bash: netstat: command not found


You do not have net-tools installed on your linux/ubuntu operating system of which netstat is a part of.


Install net-tools using package tool such as apt-get,

# apt-get install net-tools
The following NEW packages will be installed:
Get:1 focal/main arm64 net-tools arm64 1.60+git20180626.aebd88e-1ubuntu1 [194 kB]
Fetched 194 kB in 1s (242 kB/s)    
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package net-tools.
(Reading database ... 20276 files and directories currently installed.)
Preparing to unpack .../net-tools_1.60+git20180626.aebd88e-1ubuntu1_arm64.deb ...
Unpacking net-tools
Setting up net-tools ...
Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap