Linux-002-执行命令时,提示: -bash: {命令}: command not found
2016-11-04 00:39
639 查看
首先,此文不适应未安装的命令。
起因:
进行系统环境变量配置时,路径分割符配置错误,错将“:”配置为“;”。
现象:
任意用户执行命令时,提示:command not found。
解决步骤:
1、系统管理员登录
2、添加临时变量
3、修改系统环境变量配置文件,并生效
至此,此文顺利完结,希望此文能够给初学 Linux 的您一份参考。
最后,非常感谢亲的驻足,希望此文能对亲有所帮助。热烈欢迎亲一起探讨,共同进步。非常感谢! ^_^
起因:
进行系统环境变量配置时,路径分割符配置错误,错将“:”配置为“;”。
现象:
任意用户执行命令时,提示:command not found。
解决步骤:
1、系统管理员登录
2、添加临时变量
export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
3、修改系统环境变量配置文件,并生效
vi /etc/profile source /etc/profile
至此,此文顺利完结,希望此文能够给初学 Linux 的您一份参考。
最后,非常感谢亲的驻足,希望此文能对亲有所帮助。热烈欢迎亲一起探讨,共同进步。非常感谢! ^_^
相关文章推荐
- Linux执行命令提示:bash:command not found
- 在linux中执行wget命令提示 -bash: wget: command not found 解决方法
- Linux下执行useradd命令添加用户时提示:"command not found"
- linux下使用shutdown命令关机,提示: -bash:shutdown:command not found
- jenkins执行shell命令,有时会提示“Command not found”----处理方案
- Linux不能使用FTP 命令 -bash: ftp: command not found
- 执行 pod install后提示 -bash: pod: command not found(未找到命令)的解决方法
- linux系统中shell中执行命令是报:bash: ifconfig: command not found错误的解决办法
- linux下提示bash:command not found
- linux "-bash: telnet: command not found" telnet不是命令
- linux下提示bash:command not found
- oracle安装完成之后,执行sqlplus命令,提示:bash: sqlplus: command not found...
- linux下提示bash:command not found_带目录下命令列表介绍
- Linux 修改.bash_profile后 造成命令无法使用bash: command not found
- linux下提示bash:command not found
- Linux下提示 bash: xxx command not found
- linux下提示bash:command not found
- linux命令存放 bash: xxx command not found
- linux下提示bash:command not found
- Linux 修改.bash_profile后 造成命令无法使用bash: command not found