Linux command error: -bash: **.sh: /bin/bash^M: bad interpreter: No such file or directory
Due to historical reasons, Windows, Unix/Linux, and Mac have different ways of expressing the carriage return and line feed characters used in text.
This has caused many people to encounter the confusion of carriage return and line feed characters, and at the same time need to convert between different formats.
1) View the current text format
In the Notepad++ interface, there is a description of the file format in the lower right corner: "Dos\Windows or UNIX or Mac".
2) Format conversion
Edit->File format conversion->, in which three text format conversions can be performed