Question: Vi 1. in a shell, type vi editor 2. press i to switch vi into Insert Mode 3. Enter the following text: The squick browne

Vi

1. in a shell, type vi editor

2. press i to switch vi into Insert Mode

3. Enter the following text:

The squick

browne

foxy will rereturn.

4. What key do you press to exit Insert Mode?

5. How do you save the file?

Q: When you have the file, does the command appear in the shell?

Still using the editor text file

1) Create a new text file, edited by concatenating the editor file with itself.

QA: what is the exact command you used?

2) Count the number of lines in the edited file using one command with a single option.

QB: what is the exact command you used?

3) Open the edited file using Vi. In command mode, turn line numbers on using :set number.

QC. does the number of lines match your output from step 2 above?

4) Use two characters (not the down arrow!) in command mode to move to line 3.

QD. what characters did you enter?

5) Delete the entire line using two characters

QE. what characters did you enter?

6) Immediately paste the deleted line.

QF. what command did you use to paste?

QG. so, deleting the line didnt actually delete itwhere did the line go?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!