CompTIA
LX0-101 · Question #287
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
(47 responses)- B4% (2)
- C85% (40)
- D9% (4)
- E2% (1)
Community Discussion
No community discussion yet for this question.