EC-Council
ECSS · Question #148
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 D. 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
- Acat
- Bless
- Cmore
- Dtee
How the community answered
(57 responses)- A4% (2)
- B9% (5)
- C16% (9)
- D72% (41)
Community Discussion
No community discussion yet for this question.