-bash: netstat: 未找到命令

[root@localhost ~]# netstat -lunpt

-bash: netstat: 未找到命令

 

[root@localhost ~]# yum -y install net-tools
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.shu.edu.cn
 * epel: mirror01.idc.hinet.net
 * extras: mirrors.shu.edu.cn
 * updates: mirrors.shu.edu.cn
正在解决依赖关系
--> 正在检查事务
---> 软件包 net-tools.x86_64.0.2.0-0.22.20131004git.el7 将被 安装
--> 解决依赖关系完成


依赖关系解决


=======================================================================================================================================================================================================
 Package                                       架构                                       版本                                                          源                                        大小
=======================================================================================================================================================================================================
正在安装:
 net-tools                                     x86_64                                     2.0-0.22.20131004git.el7                                      base                                     305 k


事务概要
=======================================================================================================================================================================================================
安装  1 软件包


总下载量:305 k
安装大小:917 k
Downloading packages:
net-tools-2.0-0.22.20131004git.el7.x86_64.rpm                                                                                                                                   | 305 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在安装    : net-tools-2.0-0.22.20131004git.el7.x86_64                                                                                                                                          1/1 
  验证中      : net-tools-2.0-0.22.20131004git.el7.x86_64                                                                                                                                          1/1 


已安装:
  net-tools.x86_64 0:2.0-0.22.20131004git.el7                                                                                                                                                          

 

posted @ 2019-07-25 10:12  a-du  阅读(964)  评论(0编辑  收藏  举报