/bin/bash^M: bad interpreter: no such file or directory

From ETCwiki
Revision as of 13:07, 5 April 2014 by Ddxfish (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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.

External Links