LPI
101-400 · Question #342
101-400 Question #342: Real Exam Question with Answer & Explanation
Sign in or unlock 101-400 to reveal the answer and full explanation for question #342. The question stem and answer options stay visible for context.
Question
Which of the following commands will find the string foo in the file filel.txt, regardless of foo being in upper or lowercase letters?
Options
- Acat file1.txt | grep -i foo
- Bcat file1.txt >grep -n foo
- Cgrep -i foo | file1.txt
- Dgrep -n file1.txt < foo
- Egrep -n foo file1.txt
Unlock 101-400 to see the answer
You've previewed enough free 101-400 questions. Unlock 101-400 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.