Exam4Training

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

Answer: B

Latest LFCS Dumps Valid Version with 260 Q&As

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

Exit mobile version