shell脚本运行时提示 source: not found,需要重新软连接

转载自:shell脚本运行时提示 source: not found,需要重新软连接

 

现象: shell脚本运行时提示 source: not found

这是因为 debian,ubuntu默认的shell时dash。


解决方法:
    1,先删除 /bin/sh 的软连接
    

    2,重新映射 /bin/sh 
    

posted @ 2015-11-26 11:18  kylinfish  阅读(824)  评论(0编辑  收藏  举报