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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started