User Tools

Site Tools


remove_special_chars_from_windows_files

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
remove_special_chars_from_windows_files [2017/07/19 14:12] walkeradminremove_special_chars_from_windows_files [2023/03/09 22:35] (current) – external edit 127.0.0.1
Line 14: Line 14:
 \\  \\ 
     vi -b filename     vi -b filename
-\\  
  
 ---- ----
Line 41: Line 40:
 You can remove these special characters in Linux using a variety of methods, here are two. You can remove these special characters in Linux using a variety of methods, here are two.
 \\  \\ 
-\\  +    1. In vi, just delete the ^M characters and save the file
-vi, just delete them and save the file, or+     
 +    2. Install dos2unix (yum install dos2unix) and execute this on your file (dos2unix filename)  
 +       and it will remove them for youhandy if it is a big file.
 \\  \\ 
remove_special_chars_from_windows_files.1500469935.txt.gz · Last modified: 2023/03/09 22:35 (external edit)