CompTIA
LX0-101 · Question #2
Which of the following commands will find the string foo in the file filel M, regardless of foo being in upper or lower case letters?
The correct answer is A. catfilel.txt| grep-ifoo. See the full explanation below for the reasoning.
Question
Which of the following commands will find the string foo in the file filel M, regardless of foo being in upper or lower case letters?
Options
- Acatfilel.txt| grep-ifoo
- Bcat file 1.txt > grep-n foo
- Cgrep-i foo | file 1 .txt
- Dgrep-nfilel.txt<foo
- Egrep-nfoofile1.txt
How the community answered
(32 responses)- A75% (24)
- B3% (1)
- C3% (1)
- D13% (4)
- E6% (2)
Community Discussion
No community discussion yet for this question.