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 (John|Bob) salesemployees.csv
C. grep -E (John|Bob) salesemployees.csv
D. egrep (John|Bob) salesemployees.csv


Answer: A

Computer Science & Information Technology

You might also like to view...

Using the Style button, the ____ style sets a height-to-width ratio using decimal values.

a. Fixed Ratio b. Proportional c. Normal d. Refine Edge

Computer Science & Information Technology

Discuss the difficulties in defending systems when dealing with user confusion.

What will be an ideal response?

Computer Science & Information Technology

Event Viewer houses the ____ that record information about all types of server events, in the form of errors, warnings, and informational events.

A. event logs B. registries C. audit logs D. system logs

Computer Science & Information Technology

What is the binary equivalent of the decimal value 97?

A. 0110001 B. 1001110 C. 01000001 D. 01101010

Computer Science & Information Technology