You are on page 1of 2

1.

Edit your copy of the document using vi.

2. Go to the end of the document and type in the following paragraph:

3. Correct the three spelling errors in the first three lines of the first paragraph (one error per line) and remove the extra "Geography" in the rd line of the first paragraph.

4. !dd the words "!"out time#" to the end of the second paragraph. $o with shift % &&'''''''' to go to the end of pargraph

5. $elete the sentence "(ime flies li)e an arrow "ut f r u i t flies li)e a "anana" and reform the paragraph. Answer: by putting cursor on 'T' which is just after the some space and then us command das in command mode. 6. *eplace all occurrences of "is" with "was".

7. +wap the two paragraphs. Answer: there is no command for swapping paragraph ; we can use cut lines command for 1st paragraph and put paste command down to the second paragraph it's like swapping with cut command. 8. +ave the file and ,uit. :wq

You might also like