Which of the following output is created?

When given the following command line. echo “foo bar” | tee bar | cat Which of the following
output is created?

When given the following command line. echo “foo bar” | tee bar | cat Which of the following
output is created?

A.
cat

B.
foo bar

C.
tee bar

D.
bar

E.
foo



Leave a Reply 3

Your email address will not be published. Required fields are marked *


Jim Butler

Jim Butler

the answer is D – try it on ubuntu –
plug it in and you get a file bar,
with the contents “foo bar”

PuertoPirate

PuertoPirate

While this is true, the echo line displays foo bar, which may be what this is specifically asking.

Clark

Clark

I just tried it and the output “foo bar” was created (with quotes)