Home - Help & Support - Contact Us
    

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:

Could not execute script
execve() for program failed: No such file or directory
Premature end of script headers

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.

Rated:NR/0 Votes
307 Views
More Articles From CGI
More Articles From CGI
Print Article
Print
Share |
Comments, Questions & Reviews

Comments is currently disabled for this article!
Related Articles and Readings
How to configure yum to use our local Fedora Core or CentOS repositories
If you have a Fedora Core 4, Fedora Core 6 or CentOS 4 Dedicated or Virtual Dedicated server with us, ...
How do I access MySQL using SSH?
The steps to access your MySQL database vary depending on whether Plesk is installed on your server. To Access MySQL Using ...
How do I access MySQL using SSH with Plesk installed?
To Access MySQL Using SSH with Plesk installed Log on to your server. At the command line, type su -. This ...
How do I update my max clients setting?
To update your max clients setting using SSH: Log on to your server. At the command line, type su - . ...
How do I update my max clients setting?
To update your max clients setting using SSH: Log on to your server. At the command line, type su - . ...
The information provided in this article is for general information and/or the comments is the sole responsibility of their respective authors and does not necessarily reflect the opinion of zeronese.net does not endorse any article and/or comments published by our web users unless otherwise noted.