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: mirrors.centos.webair.com
 * epel: mirror.steadfast.net
 * extras: mirrors.tummy.com
 * updates: mirror.compevo.com
                                                                                                                                                                                                                                                                                                                                                                       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