LPI
117-010 · Question #34
117-010 Question #34: Real Exam Question with Answer & Explanation
Sign in or unlock 117-010 to reveal the answer and full explanation for question #34. The question stem and answer options stay visible for context.
Question
How can the normal output of a command be written to a file while discarding the error output?
Options
- Acommand >2>file 1&>/dev/null
- Bcommand < output > /dev/null
- Ccommand > discard-error > file
- Dcommand > /dev/null 2&>1 output
- Ecommand >file 2>/dev/null
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.