How do I convert a file from Windows to Unix?

Giao Linh

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

Tìm kiếm

Back
Top