zoukankan
html css js c++ java
linux 执行脚本报错 No such file or directory
windows下编辑的脚本,拿到linux上面执行
windows下的换行符为 ,叫做CRLF
linux下的换行符为 ,叫做LF
需要进行转换
解决办法:
用vim打开该sh文件,输入:
:set ff
回车,显示fileformat=dos,重新设置下文件格式:
:set ff=unix
保存退出
查看全文
相关阅读:
2017已过半,这半年,你累吗?
2017已过半,这半年,你累吗?
2017已过半,这半年,你累吗?
程序员的一个好习惯,你有几个?
程序员的一个好习惯,你有几个?
程序员的一个好习惯,你有几个?
深拷贝与浅拷贝
understanding android build layer · Dylan
Markdown语法
npm参考手册
原文地址:https://www.cnblogs.com/pass-ion/p/15343795.html
最新文章
吴裕雄 10-MySQL插入数据
吴裕雄 09-MySQL删除数据表
吴裕雄 08-MySQL创建数据表
吴裕雄 06-MySQL选择数据库
吴裕雄 07-MySQL数据类型
吴裕雄 05-mysql删除数据库
吴裕雄 03-mysql连接
吴裕雄 04-mysql创建数据库
【Codeforces Round #431 (Div. 2) A】Odds and Ends
【Codeforces Round #431 (Div. 2) B】 Tell Your World
热门文章
【Codeforces Round #431 (Div. 2) C】From Y to Y
【CS Round #44 (Div. 2 only) D】Count Squares
【Codeforces Round #429 (Div. 1) B】Leha and another game about graph
【2017 Multi-University Training Contest
【CS Round #44 (Div. 2 only) C】Check DFS
Data analysis system
Jquery操作复选框总结
自学编程的六点技巧
自学编程的六点技巧
自学编程的六点技巧
Copyright © 2011-2022 走看看