Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I remove characters caused by a FTP session from a PC to a Unix System?

0
Posted

How do I remove characters caused by a FTP session from a PC to a Unix System?

0

A. When using FTP to transfer a text file in binary mode or a tar file from a PC to a Unix system, this can cause your file to contain many “^M”s, representing carriage returns, and “^Z”s, which in turn can cause problems when compiling that file. To remove these “^M”s and “^Z”s, use /usr/sbin/to_unix or /usr/sbin/to_dos. Simply type “to_unix old_file_name new_file_name”. Be sure to make the new file name different from the old.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123