[问题] bash:ifconfig:Command not found

来源:互联网 发布:淮安区优化镇村布局 编辑:程序博客网 时间:2024/05/10 00:17

问题:当进入Linux 系统时候,输入ifconfig命令。系统报出: bash:ifconfig:Command not found.

原因是登录系统的身份是普通用户。

 

解决1:切换用户到root, 输入ifconfig命令 

[name@lcoalhost]:  su-

[root@lcoalhost]:  ifconfig