Question
1. When using the vi text editor, which of the following keys, when in command mode, will change to insert mode and place the cursor
1.
When using the vi text editor, which of the following keys, when in command mode, will change to insert mode and place the cursor at the end of the current line?
a. | i | |
b. | a | |
c. | A | |
d. | I |
2.
Garrett wants to search through a csv file to find all rows that have either the name John or Bob in them and display them out to the terminal. Which of the following commands could Garrett use to perform this search?
a. | grep -E (John|Bob) salesemployees.csv | |
b. | grep -E (John|Bob) salesemployees.csv | |
c. | egrep (John|Bob) salesemployees.csv | |
d. | grep (John|Bob) salesemployees.csv |
3.
Kate wants to compare two text files to identify what might have been changed from one version to another. Which of the following commands can she use to do this?
a. | match document1.txt document2.txt | |
b. | version --compare document1.txt document2.txt | |
c. | compare document1.txt document2.txt | |
d. | diff document1.txt document2.txt |
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