zoukankan      html  css  js  c++  java
  • centos ifconfig 无法使用问题

    centos ifconfig 无法使用问题

    # ifconfig
    bash: ifconfig: command not found
    
    # yum search ifconfig
    Loaded plugins: fastestmirror, ovl
    Loading mirror speeds from cached hostfile
     * base: mirrors.163.com
     * extras: mirrors.zju.edu.cn
     * updates: mirror.bit.edu.cn
    ==================================== Matched: ifconfig ====================================
    net-tools.x86_64 : Basic networking tools
    
    
    # yum install net-tools.x86_64
    Loaded plugins: fastestmirror, ovl
    Loading mirror speeds from cached hostfile
     * base: mirrors.163.com
     * extras: mirrors.zju.edu.cn
     * updates: mirror.bit.edu.cn
    Resolving Dependencies
    --> Running transaction check
    ---> Package net-tools.x86_64 0:2.0-0.22.20131004git.el7 will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ===========================================================================================
     Package            Arch            Version                            Repository     Size
    ===========================================================================================
    Installing:
     net-tools          x86_64          2.0-0.22.20131004git.el7           base          305 k
    
    Transaction Summary
    ===========================================================================================
    Install  1 Package
    
    Total download size: 305 k
    Installed size: 917 k
    Is this ok [y/d/N]: y
    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
      Installing : net-tools-2.0-0.22.20131004git.el7.x86_64                               1/1 
      Verifying  : net-tools-2.0-0.22.20131004git.el7.x86_64                               1/1 
    
    Installed:
      net-tools.x86_64 0:2.0-0.22.20131004git.el7                                              
    
    Complete!
    
    
    # ifconfig
    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 172.17.0.3  netmask 255.255.0.0  broadcast 172.17.255.255
            ether 02:42:ac:11:00:03  txqueuelen 0  (Ethernet)
            RX packets 287  bytes 337662 (329.7 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 207  bytes 13882 (13.5 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            loop  txqueuelen 1  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    
    
  • 相关阅读:
    支持复制粘贴word公式的wangEditor编辑器
    支持复制粘贴word公式的KindEditor编辑器
    支持复制粘贴word公式的CKEditor编辑器
    支持复制粘贴word公式的百度HTML编辑器
    支持复制粘贴word公式的百度Web编辑器
    PHP 大文件上传分享(500M以上)
    PHP 大文件上传问题(500M以上)
    SAP ABAP报表依赖设计原理详解
    获得某个时间段内修改过的所有ABAP对象列表
    FLINK实例(13):Flink的重启策略(一)
  • 原文地址:https://www.cnblogs.com/jiqing9006/p/8997880.html
Copyright © 2011-2022 走看看