LPI
101-400 · Question #27
101-400 Question #27: Real Exam Question with Answer & Explanation
Sign in or unlock 101-400 to reveal the answer and full explanation for question #27. The question stem and answer options stay visible for context.
Question
Which of the following shell redirections will write standard output and standard error output to a file named filename?
Options
- A2>&1 >filename
- B
filename 2>&1
- C1>&2>filename
- D
filename
- E1&2>filename
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.