bash: netstat: command not found code example
Example 1: install netstat linux centos 7
# yum install net-tools [On CentOS/RHEL]
# apt install net-tools [On Debian/Ubuntu]
# zypper install net-tools [On OpenSuse]
# pacman -S netstat-nat [On Arch Linux]
Example 2: bash: netstat: command not found
apt-get install net-tools