I'm trying to run a shell script, and it's not working.
Any ideas?Code:jayzilla@server1:~/roborumble/robocode$ ./roborumble.sh bash: ./roborumble.sh: /bin/sh^M: bad interpreter: No such file or directory
I'm trying to run a shell script, and it's not working.
Any ideas?Code:jayzilla@server1:~/roborumble/robocode$ ./roborumble.sh bash: ./roborumble.sh: /bin/sh^M: bad interpreter: No such file or directory
Blog
Praise "Bob."
install sysutils and then run dos2unix on your script.
How to install the sysutils and run dos2unix
In synaptic search for sysutils, check the checkbox and click apply. Then go to directory where you have the script and run dos2unix yourscript.sh.
Then your script should work, so try running it again.
Thanks!!
Bookmarks