How do I convert a file from Windows to Unix?
Answer
IT Tips and Tricks
Answer
IT Tips and Tricks
- dos2unix and unix2dos. The utilities dos2unix and unix2dos are available for converting files from the Unix command line. …
- tr. You can use tr to remove all carriage returns and Ctrl-z ( ^Z ) characters from a Windows file: …
- awk. To use awk to convert a Windows file to Unix, enter: …
- Perl. …
- vi.