Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Feb 062009

Convert DOS/MAC to UNIX text file format converter


Sometimes if a file was edited on Windows, and you might find strange characters "^M" occur at the end of every line when you open in vim under Linux, you can use the dos2unix command to reformat the file format to remove them.


# dos2unix

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>