ubuntu linux -报错 source: not found

 

报错:source: not found

原因:sh 和 bash 是不同的 shell,sh中没有 source 命令。所以用 sh 或者 ./ 运行的时候,会提示这个错误。

解决办法:sudo bash test.sh

猜你喜欢

转载自www.cnblogs.com/wen-/p/12112350.html
今日推荐