nerdexam
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)
  • A
    13% (6)
  • B
    9% (4)
  • C
    73% (33)
  • D
    2% (1)
  • E
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 101-400 Practice