Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions