$fromdos command

ODOC: About fromdos command

A utility that converts MS-DOS text files to Unix text files, as the two systems have different ideas on what a line separator is. The fromdos command converts text files from the DOS format to the Unix format, while todos converts text files from the Unix format to the DOS format.

Example:

praveen@praveen-desktop:~$fromdos test.txt

The above example would take a MS-DOS or Microsoft Windows file or other file with different line separators and format the file with new line separators to be read in Linux / Unix.

With Regards,
S. Praveen

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s