Quick Answer: What Is Control M Character in Unix?
Contents It Is Known as Carriage Return. If You’re Using Vim You Can Enter Insert Mode and Type Ctrl – v Ctrl – M. That ^M Is the Keyboard Equivalent to R...
It is known as carriage return. If you’re using vim you can enter insert mode and type CTRL – v CTRL – m . That ^M is the keyboard equivalent to r. Inserting 0x0D in a hex editor will do the task.
Where is the control M character in Unix?
Note: Remember how to type control M characters in UNIX, just hold the control key and then press v and m to get the control-m character.
Must Read
What is the M character?
Loading when this answer was accepted… The ^M is a carriage-return character. If you see this, you’re probably looking at a file that originated in the DOS/Windows world, where an end-of-line is marked by a carriage return/newline pair, whereas in the Unix world, end-of-line is marked by a single newline.