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

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

D.
Hello foobar

E.
Hello foobar foobar



Leave a Reply 1

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


Mahoni

Mahoni

The correct question should be like this:

What is the output when the following shell script executes?

cat <<foobar
Hello foobar
foobar