How do I remove ^M from the end of lines in a file that has been moved from Windows to Linux?

Aruba Employee
Aruba Employee
Product and Software: This article applies to all ECS product and software versions.

^M corresponds to the Ctrl-M keystroke in Windows. When a file is edited in Windows and uploaded to Linux, the file may include ^M at the end of every line.


To delete ^M:


1) In the NAC appliance CLI, type:


2) Click the Esc key.

3) Type:


(For ^V, type Ctrl-V.)

The line then displays as:


4) Save and exit the file.


Version history
Revision #:
1 of 1
Last update:
‎06-30-2014 07:41 PM
Updated by:
Search Airheads
Showing results for 
Search instead for 
Did you mean: