LPI
101-500 · Question #135
101-500 Question #135: Real Exam Question with Answer & Explanation
Sign in or unlock 101-500 to reveal the answer and full explanation for question #135. The question stem and answer options stay visible for context.
GNU and Unix Commands
Question
When should grep -F or the fgrep command be used to search the content of text files?
Options
- AWhen files need to be searched that contain non-ASCII text.
- BWhen only the presence of the search pattern needs to be reported and not every line that
- CWhen the text being searched for does not contain any regular expression patterns.
- DWhen the text files will be searched multiple times. Subsequent calls to fgrep will run faster.
Unlock 101-500 to see the answer
You've previewed enough free 101-500 questions. Unlock 101-500 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#grep#fgrep#literal string search#regular expressions