linux命令修改文件格式

vi exec.sh
:set ff=unix(或者:set fileformat=unix)
:wq

备注一下。

原文地址:https://www.cnblogs.com/zlzhoulei/p/5563172.html