Which of the following commands will you use to accomplish the task?

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?

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?

A.
cat

B.
less

C.
more

D.
tee

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *