Question: This is in Unix Problem 7 (10 points): Answer the following questions about using the vi editor: a) Assume you are using 'vi' and are
This is in Unix

Problem 7 (10 points): Answer the following questions about using 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. b) Other than the arrow keys on your keyboard, how do you move the cursor left/right/up/down with vi? What do each of the following vi commands do (if you see a command we haven't talked about, just do a quick internet search to find out what the command does): c) 5G d) 9dw e) 10yy ) 3dd 8) 20 h) 5 i) How do you tell vi to open the file 'assignments.txt' with the cursor starting or line 128? j) 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
