问题:当进入Linux 系统时候,输入ifconfig命令。系统报出: bash:ifconfig:Command not found.
原因是登录系统的身份是普通用户。
解决1:切换用户到root, 输入ifconfig命令
[name@lcoalhost]: su-
[root@lcoalhost]: ifconfig
本文介绍了解决在Linux系统中使用ifconfig命令时遇到“Command not found”错误的方法。该问题通常是因为当前用户权限不足导致的。文章提供了一个简单的解决方案:通过切换到root用户来执行ifconfig命令。
问题:当进入Linux 系统时候,输入ifconfig命令。系统报出: bash:ifconfig:Command not found.
原因是登录系统的身份是普通用户。
解决1:切换用户到root, 输入ifconfig命令
[name@lcoalhost]: su-
[root@lcoalhost]: ifconfig
398

被折叠的 条评论
为什么被折叠?