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 . 1>&2>filenam
B . 2>&1 >filename
C . >>filename
D . >filename 2>&1
E . 1&2>filename

Answer: D

Latest 101-500 Dumps Valid Version with 242 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments