Since the script is written in the Windows system, the default line ending of the editor in Windows is \r\n
In the Unix system, the default line ending of the editor is \n, and the previous \r is regarded as a command. Of course, an error is reported and the command cannot be found.
We need to reconfigure the line endings, in the Notepad++ editor
Right-click on Windows (CRLF) and select Convert to Unix (LF) to save, send to the server and overwrite the original script