SimplyWebHosting.com KnowledgeBase Glossary    Contact Us
Search  
   
Browse by Category
SimplyWebHosting.com KnowledgeBase .: Virtuozzo and OpenVz Based Accounts .: Removing carriage return characters from a Linux configuration file

Removing carriage return characters from a Linux configuration file

To remove carriage return characters from a Linux configuration file log into your VPS in a shell prompt. Type the command:

tr -d '15' < oldfile > newfile

Replace "oldfile" with the name of the configuration file (including the full path to the file if your working directory is different than the directory in which "oldfile" is located). Replace "newfile" with a temporary file name.

Make sure to replace the "oldfile" with the "newfile" and restart whatever service uses that configuration file.


How helpful was this article to you?

Related Articles

article How do I edit my hosts file in Windows?
To view your domain before you update your...

  8-6-2005    Views: 418714   
article How do I change file permissions in Plesk 5?
You can change the permissions for files using...

  1-5-2006    Views: 6998   
article How do I perform a traceroute from a Linux command prompt?
Open an SSH session to your server or...

  5-5-2006    Views: 19332   

User Comments

No comments have been posted.


.: Powered by Lore 1.5.4
Copyright 2005-2014 Advantagecom Networks, Inc.
SimplyWebHosting.com - Xen Linux Virtual Private Servers (VPS) - Paypal Accepted