Posted on

Linux+ – LX0-101 – Exam 1 Samples – Question 74

Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log?

A. cat < myapp | cat > file1.log
B. myapp 0>&1 | cat > file1.log
C. myapp | cat > file1.log
D. myapp | tee file1.log
E. tee myapp file1.log

This Question is from the premium VCE/PDF and it is available for you here for free.

Correct Answer: D

Leave a Reply

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