remove_special_chars_from_windows_files
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| remove_special_chars_from_windows_files [2017/07/19 13:15] – walkeradmin | remove_special_chars_from_windows_files [2017/07/19 14:26] (current) – walkeradmin | ||
|---|---|---|---|
| Line 40: | 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 | + | 1. In vi, just delete the ^M characters and save the file. |
| | | ||
| 2. Install dos2unix (yum install dos2unix) and execute this on your file (dos2unix filename) | 2. Install dos2unix (yum install dos2unix) and execute this on your file (dos2unix filename) | ||
| and it will remove them for you, handy if it is a big file. | and it will remove them for you, handy if it is a big file. | ||
| \\ | \\ | ||
remove_special_chars_from_windows_files.1500470106.txt.gz · Last modified: (external edit)
