How Do I Avoid M in Linux?
Contents You May Need to Do This When You Import a Text File from Ms-Dos (Or Ms-Windows), and Forget to Transfer It in Ascii or Text Mode. Here Are Several...
You may need to do this when you import a text file from MS-DOS (or MS-Windows), and forget to transfer it in ASCII or text mode. Here are several ways to do it; pick the one you are most comfortable with. To enter ^M, type CTRL-V, then CTRL-M. That is, hold down the CTRL key then press V and M in succession.
What does M mean in Linux?
12 Answers. 12. 169. 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.
How do I find Control M characters 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.