EC-Council
ECSS · Question #271
You have made a program secure.c to display which ports are open and what types of services are running on these ports. You want to write the program's output to standard output and simultaneously…
The correct answer is B. tee. See the full explanation below for the reasoning.
Question
You have made a program secure.c to display which ports are open and what types of services are running on these ports. You want to write the program's output to standard output and simultaneously copy it into a specified file. Which of the following commands will you use to accomplish the task?
Options
- Aless
- Btee
- Ccat
- Dmore
How the community answered
(27 responses)- A4% (1)
- B81% (22)
- C11% (3)
- D4% (1)
Community Discussion
No community discussion yet for this question.