日期:2014-05-16  浏览次数:20663 次

为什么每次启动bash都出现bash:test:a:binary operaotr expected
完整的信息是这样的
bash:test:a:binary operaotr expected
bash:OK:Command not found
为什么每次启动bash都会出现这个东东啊

------解决方案--------------------
估计你的.bash_profile 或者 .bashrc 或者 .profile 中的脚本有误
你可以手工依次执行检查一下
------解决方案--------------------
直接执行,看是否有错误提示
. ~/.bash_profile
------解决方案--------------------
应该是你的.bashrc有问题,你做过什么更改
------解决方案--------------------
su
贴 vim .bashrc