JavaShuo
栏目
标签
Linux/Unix 下执行 Shell 脚本出现的问题:/start.sh[6]: ^M: not found
时间 2021-07-11
栏目
Linux
繁體版
原文
原文链接
错误信息: ./start.sh[6]: ^M: not found ./start.sh[7]: ^M: not found 截图: 错误原因: 其实^M就是windows下的换行符。因为本人是在Windows下编辑start.sh的,然后再用ftp上传到unix上,没有意识到windows系统和unix系统文件格式的区别,解决办法就是用ultraedit来转换。 转换方法: 文件 ---
>>阅读原文<<
相关文章
1.
Shell脚本出现$'\r': command not found
2.
shell脚本中出现^M
3.
linux下执行shell脚本提示Command not found
4.
shell脚本执行mysql语句出现的问题
5.
PHP 执行shell 脚本,常见问题
6.
shell执行mysql的脚本(包括mysql执行shell脚本)
7.
MySQL shell脚本执行错误 $'\r':command not found
8.
shell脚本执行错误 $'\r':command not found
9.
windows下编写shell脚本完美解决换行问题$'\r': command not found
10.
解决Shell脚本$'\r': command not found问题
更多相关文章...
•
Swift 下标脚本
-
Swift 教程
•
服务端脚本 指南
-
网站建设指南
•
☆基于Java Instrument的Agent实现
•
PHP Ajax 跨域问题最佳解决方案
相关标签/搜索
shell脚本
linuxunix
发现问题
执行
出问题
shell脚本语法
shell脚本实例
脚本
脚下
下脚
Unix
Linux
NoSQL教程
PHP教程
MySQL教程
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
CVPR 2020 论文大盘点-光流篇
2.
Photoshop教程_ps中怎么载入图案?PS图案如何导入?
3.
org.pentaho.di.core.exception.KettleDatabaseException:Error occurred while trying to connect to the
4.
SonarQube Scanner execution execution Error --- Failed to upload report - 500: An error has occurred
5.
idea 导入源码包
6.
python学习 day2——基础学习
7.
3D将是页游市场新赛道?
8.
osg--交互
9.
OSG-交互
10.
Idea、spring boot 图片(pgn显示、jpg不显示)解决方案
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
Shell脚本出现$'\r': command not found
2.
shell脚本中出现^M
3.
linux下执行shell脚本提示Command not found
4.
shell脚本执行mysql语句出现的问题
5.
PHP 执行shell 脚本,常见问题
6.
shell执行mysql的脚本(包括mysql执行shell脚本)
7.
MySQL shell脚本执行错误 $'\r':command not found
8.
shell脚本执行错误 $'\r':command not found
9.
windows下编写shell脚本完美解决换行问题$'\r': command not found
10.
解决Shell脚本$'\r': command not found问题
>>更多相关文章<<