Your Question: What Does M Do in Linux?
Contents 12 Answers. 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...
12 Answers. 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.
What does M mean in command line?
-c command Specify the command to execute (see next section). This terminates the option list (following options are passed as arguments to the command). -m module-name Searches sys. path for the named module and runs the corresponding . py file as a script.
Must Read
What is M in bash?
/bin/bash^M: bad interpreter: No such file or directory
Ok, but there is no ^M in your script! ^M is a character used by Windows to mark the end of a line (so it is a carriage return) and that matches the CR character.