Print Name __________________________
Signature __________________________
_______________________________________________________________________________________________
2] Name four of the six reasons we use the vi editor? ______________________________________________________
_______________________________________________________________________________________________
3] How to you start vi to edit a file, called Data.1? _________________________________________________________
4] We are in the command mode. How do you enter the insert mode at the cursor location? __________________________
5] We are in the command mode. How do you enter the insert mode at the end of the current line? _____________________
6] We are in the insert mode. How do you enter the command mode? __________________________________________
7] We are in the command mode. How do you delete the character beneath the cursor? _____________________________
8] We are in the command mode. How do you delete the cursor line? ___________________________________________
9] We are in the command mode. How do you delete the cursor line and the next five lines? __________________________
10] We are in the command mode. How do you save the changes in the file and exit the editor? _______________________
11] We are in the command mode. How do you discard the changes in the file and exit the editor? _____________________
12] We are in the insert mode. How do you save the changes in the file and exit the editor? __________________________
13] We are in the command mode. How do you move the cursor up one line? ____________________________________
14] We are in the command mode. How do you move the cursor down one line? __________________________________
15] We are in the command mode. How do you move the cursor right one character? ______________________________
16] We are in the command mode. How do you move the cursor left one character? _______________________________
17] We are in the command mode. How do you move to line 1 (top of file)? ______________________________________
18] We are in the command mode. How do you move to the bottom of the file? ___________________________________
19] We are in the command mode. How do you move to the next occurrence of the string "URL"? ____________________
20] We are in the command mode. How do you copy the cursor line and the next five lines to the clipboard?_____________
21] We are in the command mode. How do you copy the clipboard lines in before the current cursor line? _______________
22] We are in the command mode. How do you copy the clipboard lines in before the current cursor line? _______________
23] We are in the input mode. How do you terminate a line? _________________________________________________
24] List the two modes for the VI editor? _______________________________________________________________
25] We are in the command mode. How do you delete the character beneath the cursor and the next 5 characters. ________
25] We are in the command mode. We just accidentally deleted 12 lines. How do you undelete those lines? ______________
26] We are in the command mode. How do you join the current cursor line with the next line? _______________________
27] We are in the command mode. How do you move forward one full screen? ___________________________________
28] We are in the command mode. How do you move backward one full screen? _________________________________
A] A divider
B] Copy of this assignment sheet. Print name and sign!