摘要: 将Shell脚本从windows环境复制到Linux环境运行报错 修改文件格式为unix使用vi/vim进入文件,命令模式输入::set ff=unix或者::set fileformat=unix wq保存退出 可以正常运行 阅读全文