centos7中运行ifconfig提示-bash: ifconfig: command not found

  centos7中运行ifconfig提示-bash: ifconfig: command not found

  查看/sbin/下是否有ifconfig,若没有通过如下命令安装

  sudo yum install net-tools

原文地址:https://www.cnblogs.com/lojun/p/11236433.html