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
Which of the following commands displays the output of the foo command on the screen and also writes it to a file called
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Which of the following commands displays the output of the foo command on the screen and also writes it to a file called
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!