What is the output when the following shell script executes?

What is the output when the following shell script executes?

cat&<<foobar Hello foobar Foobar

What is the output when the following shell script executes?

cat&<<foobar Hello foobar Foobar

A.
The contents of the file foobar.

B.
Hello foobar

C.
Hello foobar foobar

D.
No output but a file named foobar is created.

E.
Hello



Leave a Reply 1

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


Tomek

Tomek

the question should be:
What is the output when the following shell script executes?

cat <<foobar
Hello foobar
foobar