Lpi Linux Essentials 010 160 · Free Practice Question Easy
Question 3
Which of the following statements would be used for sending both standard output and standard error to the same location?
- A 2 &>
- B 2 >&
- C 2 <&
- D 2>&1
Reveal correct answer
Correct answer: D
Explanation
OBJ-3.3: The statement "2>&1" is used to redirect the standard output and standard error to the same file.Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
You must be logged in to post a comment.
