jueves, 2 de julio de 2020

install netstat

$ yum provides */netstat
Or,
$ yum whatprovides */netstat
Sample output:
yum provides */netstat
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.nbrc.ac.in
 * extras: mirror.nbrc.ac.in
 * updates: mirror.nbrc.ac.in
net-tools-2.0-0.17.20131004git.el7.x86_64 : Basic networking tools
Repo : base
Matched from:
Filename : /bin/netstat
As you see in the above output, we need to install net-tools package in order to get netstat command.
So, let us install net-tools command using the following command from the Terminal:
$ sudo yum install net-tools

1 comentario: