Append text after line 15:15a Delete lines 12 through end:12,$d Start editing a different file named `file':e file Delete all blank (empty) lines:g/^$/d Quit the editor:q Set the file name to `abc':f abc Determine the name of the current file name:f Append the file `afile' at the end of the current file:{$}r afile Write out the current file:w Move lines 12 through a line containing `xyz' to the beginning:12,/xyz/m0 Regular Expression matching words that end with `ing':\[! \]*ing Search upwards for the word `Now':?Now? The address symbol for the current line:. The RE character that stands for any character:. The RE character that matches the beginning of a line:^ The RE character that matches the end of a line:$ The RE character class grouping symbols:\[\] Insert new text above the current line:{.}i Copy line 3 to be after line 15:3t15