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:
Verified
Q44: Which of the following commands will print
Q45: In order to display all currently mounted
Q46: Which of the following command sets the
Q47: Which of the following commands makes /bin/foo
Q48: Which of the following commands will reduce
Q50: Which character, added to the end of
Q51: What happens after issuing the command vi
Q52: Which of the following commands can be
Q53: Which of the following commands changes the
Q54: Regarding the command: nice -5 / usr
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents