QuestionQ25
Essential CommandsWhich of the following shell redirections writes 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
Which of the following shell redirections writes standard output and standard error output to a file named filename?
filename 2>&1
filename
Community Discussion