LPI
117-101 · Question #114
In bash, inserting 2>&1 after a command redirects
The correct answer is D. standard error to standard output. See the full explanation below for the reasoning.
Question
In bash, inserting 2>&1 after a command redirects
Options
- Astandard error to standard input.
- Bstandard input to standard error.
- Cstandard output to standard error.
- Dstandard error to standard output.
- Estandard output to standard input.
How the community answered
(64 responses)- A3% (2)
- B8% (5)
- C17% (11)
- D70% (45)
- E2% (1)
Community Discussion
No community discussion yet for this question.