Which of the following commands displays the output of the foo command on the screen and also writes it to a file called /tmp/foodata?

Which of the following commands displays the output of the foo command on the screen and also writes it to a file called /tmp/foodata?
A . foo | less /tmp/foodata
B . foo | cp /tmp/foodata
C . foo > /tmp/foodata
D . foo | tee /tmp/foodata
E . foo > stdout >> /tmp/foodata

Answer: D

Latest 101-500 Dumps Valid Version with 242 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments