Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation LFCS Exam - Topic 5 Question 110 Discussion

Actual exam question for Linux Foundation's LFCS exam
Question #: 110
Topic #: 5
[All LFCS Questions]

When given the following command line.

echo "foo bar" | tee bar | cat

Which of the following output is created?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Brigette
9 hours ago
I remember practicing a similar question where tee was involved, and it seemed to duplicate the output. Maybe it outputs "foo bar" as well?
upvoted 0 times
...
Katina
5 days ago
I think the output should be "foo bar" since that's what gets echoed, but I'm not entirely sure how tee works in this context.
upvoted 0 times
...

Save Cancel