Could be. The DOS/Win end-of-line is traditionally CR-LF, vs. simply LF in Unix. Look at the file with 'od', and see if there are '0D 0A' eol sequences. If so, this may be the problem. I use the editor 'nedit' to perform eol translation. There is certain to be other tools to perform the translation, probably even 'tr' will work. The only other possible problem that I see is that '/bin/sh' does not exist. This seems unlikely on any major Linux distribution.