CompTIA Linux+ Powered by LPI (LX0-103) — Question 5

In Bash, inserting 1>&2 after a command redirects

Answer options

Correct answer: C

Explanation

The correct answer is C because the notation 1>&2 specifically means that the standard output (file descriptor 1) is being redirected to standard error (file descriptor 2). Options A, B, D, and E incorrectly describe the direction of the redirection or mix up the file descriptors.