执行source命令报错bash: : command not found

一 问题描述

修改grid用户下的.bash_profile后,执行source .bash_profile报错:

 但是root用户执行这个命令就没报错。

二 解决办法

检查.bash_profile是否空行或者存在多余空格,有的话,去掉

猜你喜欢

转载自blog.csdn.net/YABIGNSHI/article/details/130985854