Online Quizzes

Vi

Test your vi skills! Take the following Quiz then click Submit to view your results immediately. The results of your quiz are not recorded.

    True or False

    1. vi is a Visual Editor that allows you to see the document while you edit it.

    True False

    2. There are two modes of editing Action Mode and Insert Mode.

    True False

    3. You should never press the ESC key when you are finished inserting.

    True False

    Fill in the Blank


    4. To move to the beginning of the line press the _____ key.

    0
    I
    A
    a

    5. Press the ______ key to insert text after the cursor.

    b
    i
    a
    o

    6. Type __ __ to copy the line that the cursor is on.

    ww
    zz
    dd
    yy

    7. Type __ __ to delete the line that the cursor is on.

    ii
    cw
    ZZ
    dd

    Multiple Choice


    8. Which command would you use save your changes and quit.

    :wq
    :q!
    :q
    p

    9. Which command allows you to insert text before the cursor?

    a
    o
    i
    x

    10. Which command would you use to move to the end of a line?

    o
    $
    a
    i