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

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

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

A.
standard error to standard input.

B.
standard input to standard error.

C.
standard output to standard error.

D.
standard error to standard output.

E.
standard outputto standard input.



Leave a Reply 1

Your email address will not be published. Required fields are marked *


micormat

micormat

Should be “D) standard error to standard output.” isn’t it??

The answer provided (C) are form question Q37 where they ask for 1>&2 …