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

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

Answer: D

Latest LFCS Dumps Valid Version with 260 Q&As

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

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments