[root@yz-222-83-81 bin]# sh start.sh
: No such file or directory
: No such file or directory
start.sh: line 7: $'\r': command not found
sed: can't read conf/api-test.properties: No such file or directory
start.sh: line 9: $'\r': command not found
start.sh: line 10: $'\r': command not found
start.sh: line 50: syntax error: unexpected end of file
解决办法
执行一下命令
1 vi start.sh
2 : set ff=unix
3 : wq
搞定