解决CentOS-7 ifconfig:command not found

最小模式安装的CentOS-7在使用ifconfig命令查看ip时会出现-bash: ifconfig:command not found。 使用yum安装net-tools来解决: yum install net-tools 或者 yum install net-tools -y -y:表示在安装过程中不需要按y进行确认 看到Complete,说明安装成功。 再次使用ifconfig查看ip:
相关文章
相关标签/搜索