
Hence the file created in DOS/Windows based system needs to be converted to Unix format before it can be used properly in a Unix based systems. The line breaks in Unix and DOS/Windows is treated differently. This utility is used to convert text files in unix format to dos format. There is another utility called unix2dos which is also a part of Dos2unix package gets installed along with dos2unix utility. It is installed as part of Dos2unix package.


dos2unix is a free and open source utility used to convert plain text files in dos format to unix format. In this article, we will see how to install dos2unix command on Linux using 7 easy steps.
