New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Linux Foundation Certified System Administrator LFCS Question # 77 Topic 8 Discussion

Linux Foundation Certified System Administrator LFCS Question # 77 Topic 8 Discussion

LFCS Exam Topic 8 Question 77 Discussion:
Question #: 77
Topic #: 8

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 | teefile1.log


E.

tee myapp file1.log


Get Premium LFCS Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.