安装RedHat后,使用ifconfig命令,结果报错command not found,解决方法如下:
1.cat ~/.bash_profile 查看path
2.vi /etc/profile 编辑profile文件
3.在profile文件中添加以下内容:
PATH=$PATH:sbin
export PATH=$PATH:/sbin
若profile不能修改,权限是只读,则用root用户先修改权限,再编辑
2022-11-21技术教程下载本文ifconfig,Redhat,命令
安装RedHat后,使用ifconfig命令,结果报错command not found,解决方法如下:
1.cat ~/.bash_profile 查看path
2.vi /etc/profile 编辑profile文件
3.在profile文件中添加以下内容:
PATH=$PATH:sbin
export PATH=$PATH:/sbin
若profile不能修改,权限是只读,则用root用户先修改权限,再编辑
《RedHat不能使用ifconfig命令.doc》
下载本文的Word格式文档,以方便收藏与打印。