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?

QuestionsCategory: 220-1002A 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?
Admin Staff asked 6 months ago
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 *








 

Suggested Answer: B





This question is in 220-1002: CompTIA A+ Certification Exam: Core 2
For getting CompTIA A+ Certificate


Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by CompTIA. 
Trademarks, certification & product names are used for reference only and belong to CompTIA.
The website does not contain actual questions and answers from CompTIA's Certification Exams.

Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.