Assume you just entered vi oldfilename and the editor starte
     Assume you just entered vi old-filename and the editor started editing your old-file. Which of the following can you now do without leaving the current mode?  Delete lines Go to line 32  Yank lines 3 through 8 into memory  Put the lines from memory at a location in the file  Type in new text Remove a word. What command docs each of the following? Moves the censor to the end of a file?  Removes the current and next three lines, placing you in append mode?  Yanks the remainder of the current line into memory?  Deletes from the censor to the 23^nd character on the current line?  Changes from the cursor to the first H to the right of the censor?  Write a file saving the changes?  Moves the cursor to the end of the line?  Moves the cursor to the next H in the file?  Deletes from the cursor to the next H in the file?  Moves the whole display forward through the file?  Moves the cursor to the top line currently displayed 
  
  Solution
Assignment 1 :
(v) Type in new text : Since the file is in \"insert\" mode and all other options are done in Command mode.
Assignment 2 :
1) press ESC and type capital G
 2) 4dd
 3) Place the cursor on the part of line you wish to copy from cursor position to end. Type *y$ to yank the line.
 4) 23x (deletes from cursor to 23rd character)
 5)
 6) :wq
 7) $
 8) In ESC mode, search for H. Press n to go to next H in file.
 9) df H
 10) Type <Ctrl-f>
 11) z<CR>

