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

1.yum install dos2unix

2.dos2unix xx.sh

猜你喜欢

转载自www.cnblogs.com/lyz-2019-12-05/p/12049066.html