Writing a shell script in Windows and FTPing to UNIX may seem like a good idea, after all many projects are written under Windows and go live in UNIX. If you do this you MUST run
dos2unix
on your shell scripts. Otherwise you’ll get a:
: bad interpreter: No such file or directory error
Which isn’t very helpful.