0
点赞
收藏
分享

微信扫一扫

linux:octal number out of range77

问题描述:
同事发来一个zip包,里面包含jar包,启动脚本,配置文件
配置好以后,执行sh start.sh直接报错:
": octal number out of range77"
"start.sh: line 50: syntax error: unexpected end of file"

可以执行vim start.sh
:set ff 看看fileformat 类型是不是dos
如果是dos可以转换一下
dos2unix start.sh

举报

相关推荐

0 条评论