I simply want to run an executable from the command line, ./arm-mingw32ce-g++, but then I get the error message,
./arm-mingw32ce-g++
bash: ./arm-mingw32ce-g++: No s
Below command worked on 16.4 Ubuntu
This issue comes when your .sh file is corrupt or not formatted as per unix protocols.
dos2unix converts the .sh file to Unix format!
sudo apt-get install dos2unix -y dos2unix test.sh sudo chmod u+x test.sh sudo ./test.sh