Guess what? I got the below error while executing netstat. Solution:-  Install net-tools using yum command Ex: and then I was able to use netstat. I hope this helps you in troubleshooting netstat not found error on CentOS 7.