Difference between revisions of "/bin/bash^M: bad interpreter: no such file or directory"
From ETCwiki
Jump to navigationJump to search(No difference)
|
Revision as of 13:07, 5 April 2014
I had this error and was confused why-- even though i was using Windows to write my script for bash (Notepad++), I had created it originally as a .py file which set it to DOS encoding instead of utf-8.
solution
recreate the file and paste your original contents using VIM or some other basic text editor.