LPI
101-400 · Question #382
101-400 Question #382: Real Exam Question with Answer & Explanation
Sign in or unlock 101-400 to reveal the answer and full explanation for question #382. The question stem and answer options stay visible for context.
Question
The file myfile.txt contains the following data: joe:x:100:100:Joe:/home/joe:/bin/bash mike:x:101:101:Mike:/home/mike:/bin/sh kevin:x:102:102:Kevin:/home/kevin:/bin/sh matt:x:103:103:Matt:/home/matt:/bin/sh What output will be displayed on the screen when the following command is executed: grep -o home myfile.txt
Options
- ANo output will be displayed on the screen
- Bhome
- C/home/joe
- Djoe
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.