shell script error: No such file or directory

Use xshell edit the shell script running on the server side error:
: No such file or directory

Later found to be the editor of the windows resulting in different line breaks and Linux operating systems, you can change it, usually with vi open the file, and
: set ff=unix
then save and exit

Published 135 original articles · won praise 7 · views 30000 +

Guess you like

Origin blog.csdn.net/math_computer/article/details/103955986