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

LPIC-1 Exam 101, Part 1 of 2, version 5.0 101-500 Question # 79 Topic 8 Discussion

LPIC-1 Exam 101, Part 1 of 2, version 5.0 101-500 Question # 79 Topic 8 Discussion

101-500 Exam Topic 8 Question 79 Discussion:
Question #: 79
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 | tee file1.log


E.

tee myapp file1.log


Get Premium 101-500 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.