Press the ESC key when it is called for in the above commands. CTRL- represents the CTRL key. Hold the CTRL key and press the following key simultaneously. A append at the end of the current line. Text deleted with D and dd commands may be pasted back with the P command.
Text is pasted in before the cursor position.
From line number 'a' to line number 'b', substitute the pattern 'old' with the pattern 'new'. You carriage return in place of the 'old' and 'new' strings. Use CTRL-G to tell what line the cursor is on. Use D to cut only wish to paste the text. Use P to put back the text.