How do I output an escaped character to the terminal?

January 12, 2011 in Recipes, Shell

Suppose you want to output the character ^M. Just press CTRL+v+m and you will get the desired character.