Linux Centos7找不到ifconfig,netstat命令,安装net-tools工具

centos7 最小化安装之后,默认是没有 ifconfig,netstat命令的;我们可以直接使用 yum -y install net-tools 即可先来看下 net-tools的信息[admin@localhost ~]$ yum info net-toolsLoaded plugins: fastestmirrorLoading mirror speeds from cac...
摘要由CSDN通过智能技术生成

centos7 最小化安装之后,默认是没有 ifconfig,netstat命令的;
我们可以直接使用 yum -y install net-tools 即可

  1. 先来看下 net-tools的信息
[admin@localhost ~]$ yum info net-tools
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.bit.edu.cn
 * extras: mirrors.aliyun.com
 * updates: mirror.bit.edu.cn
Available Packages
Name        : net-tools
Arch        : x86_64
Version     : 2.0
Release     : 0.25.20131004git.el7
Size        : 306 k
Repo        : base/7/x86_64
Summary     : Basic networking tools
URL         : http://sourceforge.net/projects/net-tools/
License     : GPLv2+
Description : The net-tools package contains basic networking tools,
            : including ifconfig, netstat, route, and others.
            : Most of them are obsolete. For replacement check iproute package.

从描述中可以看到net-tools包中包含基本的网络工具,包括ifconfig,netstat,route等

  1. 安装net-tools ,需要管理员权限<
  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值