Can I use DOS line endings with my Linux hosting account?
Text files that are created with DOS line endings use the combination of a carriage return and line feed "rn" to denote the end of a line. Unix line endings consist of just a carriage return "r". Script files uploaded to your Linux shared hosting account require Unix line endings for the shell to correctly determine the interpreter. The errors this may cause include the following:
Most text editors allow you to specify a line ending convention. Uploading text files in ASCII mode will also preseve Unix line endings and convert DOS line endings to Unix, where possible.




