先安装 yum -y install dos2unix
进行一下转换 dos2unix aaa.sh (脚本名)
source aaa.sh
搞定
上一篇:MySQL之日志管理
下一篇:【MongoDB】事务