Which grep command will you use?

You have a parts list, and you need to search it for all parts that contain the string V1 or the string
R3. You decide to use a grep utility to search the file. Which grep command will you use?

You have a parts list, and you need to search it for all parts that contain the string V1 or the string
R3. You decide to use a grep utility to search the file. Which grep command will you use?

A.
grep -F ‘V1|R3’ ./parts_list

B.
fgrep ‘V1|R3’ ./parts_list

C.
egrep ‘V1|R3’ ./parts_list

D.
grep ‘V1|R3’ ./parts_list

Explanation:



Leave a Reply 0

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