linux -bash: ifconfig: command not found
2017-03-02 14:15
417 查看
在Linux下使用 ifconfig 命令时,发现报错:
解决办法:
修改家目录,使当前用户生效;
使所有用户生效,需要更改 /etc/profile ,修改内容同上。
-bash: ifconfig: command not found
解决办法:
whereis ifconfig (查看该执行命令的目录) echo $PATH (查看PATH环境变量) 将ifconfig的所在目录添加至PATH中即可。
修改家目录,使当前用户生效;
使所有用户生效,需要更改 /etc/profile ,修改内容同上。
相关文章推荐
- Linux 提示:“bash: ifconfig: command not found”
- linux ifconfig 无法使用 bash: ifconfig: command not found
- 【Linux】Linux下输入ifconfig提示bash: ifconfig: command not found解决办法
- Linux关于bash:ifconfig command not found 解决方法
- 解决找不到ifconfig命令,更改路径并重启系统后进入命令行界面以及各个命令无法执行Linux:-bash: ***: command not found
- linux系统中shell中执行命令是报:bash: ifconfig: command not found错误的解决办法
- -bash: ifconfig: command not found
- [Linux][2011-11-19] bash: sz: command not found
- red hat 输入ifconfig bash: ifconfig: command not found的解决办法
- bash: ifconfig: command not found 问题解决
- bash: ifconfig: command not found 解决办法
- 解决bash: ifconfig: command not found
- bash: ifconfig: command not found 解决办法
- linux下提示bash:command not found
- linux下提示bash:command not found
- bash: ifconfig: command not found 解决办法
- bash: ifconfig: command not found
- bash: ifconfig: command not found
- bash: ifconfig: command not found 解决办法
- bash: ifconfig: command not found 解决之道