LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-02-2006, 07:07 AM   #1
Karthikeyan Gurusamy
LQ Newbie
 
Registered: Dec 2005
Posts: 14

Rep: Reputation: 0
Use of dos2unix command


Hi All,

Can anyone plz tell me, for what purpose dos2unix command used?

I visited man pages. but i could not find what is
the use of it?

Please tell me about it.

Thanks & Regards,

Karthik
 
Old 02-02-2006, 07:12 AM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,594

Rep: Reputation: 125Reputation: 125
If you create a text file in DOS it has other line endings than if you create it on a Linux/UNIX system. Where DOS appends a RETURN and a NEW LINE at the end, Linux just uses the NEW LINE character. You use dos2unix to convert these to the Linux format.
 
Old 02-02-2006, 07:22 AM   #3
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,147

Rep: Reputation: Disabled
In case you work on web pages there is a tool called demoronizer.
 
Old 02-02-2006, 07:32 AM   #4
Karthikeyan Gurusamy
LQ Newbie
 
Registered: Dec 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks titopoquito & Emerson!!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 08:19 PM
dos2unix command on a folder raghunandan Linux - Software 1 12-12-2005 08:50 AM
Require Linux/Perl equivalent command for windows Command alix123 Programming 7 08-19-2005 03:23 AM
dos2unix package alaios Debian 1 01-16-2005 07:41 PM
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 08:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration