Shell Syntax error : end of file unexpected (expecting “then”)

https://blog.csdn.net/u012453843/article/details/69803244

在vim下,文件结尾
输入

:set fileformat=unix修改ubuntu 和linux服务器、 dos等非图形界面冲突

:wq保存

解决

发布了4 篇原创文章 · 获赞 2 · 访问量 3201

猜你喜欢

转载自blog.csdn.net/d7142947/article/details/88742288