linux bad interpreter

Getting Error while executing a .sh file: /bin/bash^M: bad interpreter: No such file or directory

Whether you are a first time linux user or a 15 year veteran, you have, or eventually will run into this issue. /bin/bash^M: bad interpreter. Trying to launch a shell script and this error happens. What is it? Why are you getting it? And of course, you must curse linux a few times. I came […]

Getting Error while executing a .sh file: /bin/bash^M: bad interpreter: No such file or directory Read More »