Which of the following commands would BEST accomplish this?

A Linux user wants to use the grep command to identify every file name in the current directory that contains the word “mandatory”. Which of the following commands would BEST accomplish this?
A. grep -d mandatory *
B. grep -i mandatory *
C. grep mandatory file
D. grep mandatory *

CompTIA A+ 220-1102 (Core 1) Exam

FULL Printable PDF and Software. VALID exam to help you PASS.

comptia-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.