profile文件时出错

更新时间:02-09 教程 由 忆离人 分享

profile文件时出错?

修改 / etc/profile 下的环境变量, 执行过 source /etc/profile 之后:

[[email protected] MongoDB]# ls

-bash: ls: 未找到命令

[[email protected] MongoDB]# cat

-bash: cat: 未找到命令

找不到命令了

解决方法:

[[email protected] MongoDB]# export PATH=/usr/bin:/usr/sbin:/bin:/sbin

[[email protected] MongoDB

声明:关于《profile文件时出错》以上内容仅供参考,若您的权利被侵害,请联系13825271@qq.com
本文网址:http://www.25820.com/tutorial/14_2179563.html