if you ever see this following message when tried to run a sh or bash script :
: bad interpreter: No such file or directory
then you should do this to fix it :
$ vi filename.sh
inside vi editor give this command :
:set fileformat=unix
:wq!
then try to run it again…. it should works now….
source : http://www.diegobelotti.com/?q=bash_bad_interpreter







