bash: ifconfig: command not found

centos下执行ifconfig提示没有该命令 , 试过了网上的一些改path的方案 , 无效.原因是一些工具没有安装啊.

执行如下即可 : 

yum install net-tools
原文地址:https://www.cnblogs.com/taojintianxia/p/5430524.html