Posted on

Linux LX0-103 Exam 1 samples – Question 61

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


Correct Answer: B
Section: GNU and Unix Commands

Leave a Reply

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