[root@yzz-test ~]# ifconfig
-bash: ifconfig: 未找到命令python
[root@yzz-test ~]# yum search ifconfig
已加載插件:fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* epel: hkg.mirror.rackspace.com
* extras: mirrors.163.com
* updates: mirrors.163.com
======================================================== N/S matched: ifconfig ========================================================
python36-ifcfg.noarch : Python cross-platform network interface discovery (ifconfig/ipconfig/ip)bash
結果:安裝以後,沒有該指令,嘗試採用search allide
[root@yzz-test ~]# yum search all ifconfig
已加載插件:fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* epel: hkg.mirror.rackspace.com
* extras: mirrors.163.com
* updates: mirrors.163.com
=========================================================== 匹配:ifconfig ============================================================
python36-ifcfg.noarch : Python cross-platform network interface discovery (ifconfig/ipconfig/ip)
moreutils.x86_64 : Additional unix utilities
net-tools.x86_64 : Basic networking tools
python2-psutil.x86_64 : A process and system utilities module for Python
python34-psutil.x86_64 : A process and system utilities module for Python
python36-psutil.x86_64 : A process and system utilities module for Python
[root@yzz-test ~]# yum install net-toolsspa