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

 

现象: 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,需要重新软连接

相关文章:

  • 2021-06-15
  • 2022-01-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-17
  • 2022-12-23
  • 2022-12-23
  • 2021-08-27
  • 2021-08-21
相关资源
相似解决方案