Linux运行shell脚本提示No such file or directory 参考:https://blog.csdn.net/pang_ping/article/details/117134392 通常是由于dos格式与unix 格式差异所致 使用vi或者vim,看sh脚本通常可以发现问题 (例如,每行末尾多了^M) 去掉即可