LPI
101-400 · Question #118
In Bash, inserting 1>&2 after a command redirects
The correct answer is C. standard output to standard error. See the full explanation below for the reasoning.
Question
In Bash, inserting 1>&2 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
(45 responses)- A13% (6)
- B9% (4)
- C73% (33)
- D2% (1)
- E2% (1)
Community Discussion
No community discussion yet for this question.