Saturday 25 November 2017

netstat Command not found on CentOS 7 / RHEL 7



netstat is a command line utility to check the network connection, configuration and activity on a Linux machines.

[root@linuxcnf ~]# netstat
-bash: netstat: command not found

To fix the above error install the net-tools package as below:

[root@linuxcnf ~]# yum -y install net-tools

Now you can verify the same using below command:

[root@linuxcnf ~]#netstat

No comments:

Post a Comment