转自:https://blog.csdn.net/lxxc11/article/details/79386005/
Linux下有命令dos2unix
你只要输入dos2unix *.sh就可以完成转换工作了
如果命令不存在的话就用如下命令安装
yum install dos2unix -y
转自:https://blog.csdn.net/lxxc11/article/details/79386005/
Linux下有命令dos2unix
你只要输入dos2unix *.sh就可以完成转换工作了
如果命令不存在的话就用如下命令安装
yum install dos2unix -y