红联Linux门户
Linux帮助

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

发布时间:2016-01-24 09:47:21来源:linux网站作者:kylinfish

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

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

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


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

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

2,重新映射 /bin/sh

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


本文永久更新地址:http://www.linuxdiyf.com/linux/17614.html