Jo has received a text file which contains multiple instances of his name spelled correctly as well as multiple instances spelled as Joe. Which of the following commands would search a text file for any occurrences of either spelling and display them out to the terminal? (Choose three.)

A. grep “Joe?” document1.txt
B. grep -E “Joe?” document1.txt
C. grep “Joe*” document1.txt
D. grep -E “Joe*” document1.txt


grep "Joe*" document1.txt
grep -E "Joe*" document1.txt
grep -E "Joe?" document1.txt

Computer Science & Information Technology

You might also like to view...

Write C# statements that accomplish each of the following tasks:

a) Display the message "Enter an integer: ", leaving the cursor on the same line. b) Assign the product of variables b and c to variable a. c) State that an app performs a simple payroll calculation (i.e., use text that helps to document an app).

Computer Science & Information Technology

____ can include strokes, fills, or both strokes and fills.

A. Ovals B. Rectangles C. Polygons D. Any of the above

Computer Science & Information Technology

The ________ in Windows 10 is where notifications appear and most settings are located

A) Action Center B) taskbar notification area C) navigation pane D) contextual tab

Computer Science & Information Technology

Explain how applying a motion path to an object or text can enhance your presentation.

What will be an ideal response?

Computer Science & Information Technology