PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

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


Leave a Reply