Installing netstat in Centos 7

yum provides can search the yum repos to let you know the name of a package that contains it.

[justin@test ~]$ yum provides netstat
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base:
 * epel:
 * extras:
 * updates:
                                                                                                                                                                                                                                                                                                                                                                       net-tools-2.0-0.17.20131004git.el7.x86_64 : Basic networking tools
Repo        : @base
Matched from:
Filename    : /usr/bin/netstat

Now we install

[justin@test ~]$ sudo yum -y install net-tools
comments powered by Disqus