出现这样的错误,是因为Shell脚本在Windows系统编写时,每行结尾是\r\n,而在Linux系统中行每行结尾是\n,所以在Linux系统中运行脚本时,会认为\r是一个字符,导致运行错误。 解决方法 去除Shell脚本的\r字符 sed -i 's/\r//' open_777_html.sh 本栏目推荐文章解决 DELPHI 中执行外部命令出现屏幕一闪的问题的方法SQL Server 检测是不是数字型数据的两种方法python字符串方法引用CDN内容的方法总结方法练习方法学习 Rust 的 15 种方法【解决方案】Error running,Command line is too longChrome 浏览器插件 V3 版本 Manifest.json 文件中 Action 的类型(Types)、方法(Methods)和事件(Events)的属性和参数解析Pycharm读excel文件报错xlrd.biffh.XLRDError: Excel xlsx file not supportedcommand 方法 found notcommand方法found not command found nvcc not command found not ll command found vim not found-not status_dll_not_found err_file_not_found found authentication found-not not status_dll_not_found exit successfully 0000135 found门户404 not