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 :
then try to run it again…. it should works now….
source : http://www.diegobelotti.com/?q=bash_bad_interpreter