LPI
117-010 · Question #2
Which of the following commands will output all of the lines with the name Fred in upper or lower case but not the word red from the file data_file? (Select TWO correct answers)
Sign in or unlock 117-010 to reveal the answer and full explanation for question #2. The question stem and answer options stay visible for context.
Question
Which of the following commands will output all of the lines with the name Fred in upper or lower case but not the word red from the file data_file? (Select TWO correct answers)
Options
- Agrep -v fred data_file
- Bgrep '[f]red' data_file
- Cegrep fred data_file
- Dgrep '[Ff]red' data_file
- Egrep -i fred data_file
Unlock 117-010 to see the answer
You've previewed enough free 117-010 questions. Unlock 117-010 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.