...
How do I strip out ^M embedded characters in my files I transferred from my PC?
Use the dos2unix command on the file. There is man page documentation available for further info. Also check this page for additional tips.
> man dos2unix
What is a man page?
man pages are linux/unix style text based documentation. For example, to obtain documentation on the command cat:
...