执行 xx.sh脚本 报错xx.sh:行8: $'\r': 未找到命令 解决方法

1.yum install dos2unix

2.dos2unix xx.sh

posted @ 2019-12-16 14:46  gzdgz  阅读(729)  评论(0编辑  收藏  举报