0
点赞
收藏
分享

微信扫一扫

运行shell脚本


[root@iZ2zehz5b1m03ahtrhebcaZ bin]# ./start.sh 
./start.sh: line 2: $'\r': command not found
./start.sh: line 3: $'\r': command not found
./start.sh: line 5: syntax error near unexpected token `$'do\r''
'/start.sh: line 5: `do

错误很明显,无法解析这个东西,

我的办法:打开shell脚本,标点符号重新输入,(注意:尤其是复制的)


举报

相关推荐

0 条评论