摘要: 今天在客户的linux服务器上部署我们的产品,启动命令在shell脚本里面,启动时遇到了$'\r': command not found错误。 奇怪的是在测试环境的linux服务器上并没有这个问题。 解决方法:用vi/vim打开脚本,设置文件格式为unix。 vim start.sh :set ff 阅读全文
posted @ 2022-07-21 13:03 年迈的魔法师 阅读(2835) 评论(0) 推荐(0) 编辑