CompTIA
XK0-001 · Question #37
XK0-001 Question #37: Real Exam Question with Answer & Explanation
Sign in or unlock XK0-001 to reveal the answer and full explanation for question #37. The question stem and answer options stay visible for context.
Question
What is the quickest way to create a file that lists all the groups to which the user 'bob' belongs?
Options
- Awhereis bob >> bob_groups.txt
- Bgrep bob /etc/group > bob_groups.txt
- Cfind /etc/passwd bob >> /var/tmp/bob_groups.txt
- Dcd /etc; cat groups | grep bob | vi > bob_groups.txt
Unlock XK0-001 to see the answer
You've previewed enough free XK0-001 questions. Unlock XK0-001 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.