bad interpreter: No such file or directory
I got below error while running shell script .
-bash: ./sample.sh: /bin/bash^M: bad interpreter: No such file or directory
The Problem ist you edit with Dos!
Solution:-
:set ff=unix
:wq
-bash: ./sample.sh: /bin/bash^M: bad interpreter: No such file or directory
The Problem ist you edit with Dos!
Solution:-
:set ff=unix
:wq
Comments
Post a Comment