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
Correct Answer:
Verified
Q66: Which of the following commands installs all
Q67: A backup software heavily uses hard links
Q68: A yum repository can declare sets of
Q69: Which of the following commands redirects the
Q70: Which of the following commands lists the
Q72: Which of the following signals is sent
Q73: Instead of supplying an explicit device in
Q74: Which of the following regular expressions represents
Q75: In compliance with the FHS, in which
Q76: Which of the following directories on a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents