How do I remove junk characters in Unix?

How do I remove junk characters in Unix?
Answer
Different ways to remove special characters from UNIX files.
  1. Using vi editor:-
  2. Using command prompt/Shell script:-
  3. a) Using col command: …
  4. b) Using sed command: …
  5. c) Using dos2unix comand: …
  6. d) To remove the ^M characters in all files of a directory:
 

Tìm kiếm

Back
Top