LPI
101-500 · Question #118
In Bash, inserting 1>&2 after a command redirects
The correct answer is C. standard output to standard error. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
Shells and Shell Scripting
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
(29 responses)- B3% (1)
- C93% (27)
- D3% (1)
Explanation
You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
Topics
#I/O redirection#file descriptors#stdout/stderr#bash syntax
Community Discussion
No community discussion yet for this question.