LPI
101-400 · Question #283
101-400 Question #283: Real Exam Question with Answer & Explanation
Sign in or unlock 101-400 to reveal the answer and full explanation for question #283. The question stem and answer options stay visible for context.
Question
To prevent a command run as root from sending both standard out (stdout) and standard error (stderr) to any terminal or other file or device, which of the following strings should be appended to the command?
Options
- A
/dev/null
- B
/dev/null 1>&2
- C
/dev/null 2>&1
- D1>&2 >/dev/null
- E2>&1 >/dev/null
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.