LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2 101-400 Question # 44 Topic 5 Discussion

LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2 101-400 Question # 44 Topic 5 Discussion

101-400 Exam Topic 5 Question 44 Discussion:
Question #: 44
Topic #: 5

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-400 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.