Which of the following shell redirections will write st…

Which of the following shell redirections will write standard output and standard error output to a file named
filename?

Which of the following shell redirections will write standard output and standard error output to a file named
filename?

A.
2>&1 >filename

B.
>filename 2>&1

C.
1>&2>filename

D.
>>filename

E.
1&2>filename



Leave a Reply 3

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


quaidox

quaidox

B is not the correct answer here, is it??

neops

neops

B is not the correct answer here, is it??

MohammadAli

MohammadAli

B is correct