It's possible you'll use the command todos filename to convert to DOS endings, and fromdos filename to convert to UNIX line endings. To setup the package on Ubuntu, type sudo apt-get set up tofrodos. Share Strengthen this remedy ObserveLegendLegend 117k123123 gold badges285285 silver badges408408 bronze badges four possible replicate of Pipe to/fro