Nguyễn Thu Trang
New member
How do I convert a file from DOS to Unix in Linux?
Answer
You can use the following tools:
Answer
You can use the following tools:
- dos2unix (also known as fromdos) – converts text files from the DOS format to the Unix. format.
- unix2dos (also known as todos) – converts text files from the Unix format to the DOS format.
- sed – You can use sed command for same purpose.
- tr command.
- Perl one liner.