赋权 chmod 777 * 终端窗口执行 dos2unix 文件名 vim打开文件: 查看文件格式 命令行模式执行 :set ff 修改文件格式 命令行模式执行 :set ff=unix 或者:set fileformat=unix