解决 CentOS7 安装完成后ifconfig命令不能用
VMWare安装了CentOS7,选择了最小安装包模式,安装完毕之后想查看一下本机的ip地址,发现报错
# ifconfig
-bash: ifconfig: command not found
谷歌了一下,整理了一下解决思路
查看ifconfig命令是否存在
查看 /sbin/ifconfig是否存在
如果ifconfig命令存在,查看环境变量设置
#...
转载
2019-06-01 21:41:05 ·
675 阅读 ·
0 评论