Question: a) Assume you are using vi and are in insert mode. Describe what you need to do to save the changes youve made and quit

a) Assume you are using vi and are in insert mode. Describe what you need to do to save the changes youve made and quit the editor (assuming that the file has been saved previously and exists). Give specific commands/keystrokes.
b) Other than the arrow keys on your keyboard, how do you move the cursor left/right/up/down with vi?
c) What do each of the following vi commands do (if you see a command we havent talked about, just do a quick internet search to find out what the command does): - 5G - 9dw - 10yy - 3dd - 2o - 5~
d) How do you tell vi to open the file assignments.txt with the cursor starting on line 128?
e) How do you tell vi to open the file assignments.txt as a read-only file?
Problem 7 (10 points): Answer the following questions about the vi editor: a) Assume you are using 'vi' and are in insert mode. Describe what you need to do to save the changes you've made and quit the editor (assuming that the file has been saved previously and exists). Give specific commands/keystrokes. left/right/up/down with vi? haven't talked about, just do a quick internet search to find out what the b) Other than the arrow keys on your keyboard, how do you move the cursor c) What do each of the following vi commands do (if you see a command we command does) 5G 9dw 10yy 3dd d) How do you tell vi to open the file 'assignments.txt' with the cursor starting on line 128? e) How do you tell vi to open the file 'assignments.txt' as a read-only file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
