Novell
050-720 · Question #299
You want to redirect both output and error messages of the find command to the find-output file. Which command accomplishes this task?
The correct answer is C. find /etc -name "*conf" > find-output 2>&1. See the full explanation below for the reasoning.
Question
You want to redirect both output and error messages of the find command to the find-output file. Which command accomplishes this task?
Options
- Afind /etc -name "*conf" 2>&find-output
- Bfind /etc -name "*conf" 2<&1 > find-output
- Cfind /etc -name "*conf" > find-output 2>&1
- Dfind /etc -name "*conf" > find-output 2>find-output
How the community answered
(30 responses)- A3% (1)
- B10% (3)
- C80% (24)
- D7% (2)
Community Discussion
No community discussion yet for this question.