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

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!