nerdexam
LPI

117-101 · Question #150

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

(36 responses)
  • A
    8% (3)
  • C
    83% (30)
  • D
    6% (2)
  • E
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 117-101 Practice