What is the output when the following shell command 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
F.
foobar
What is the output when the following shell command executes?
$ cat << foobar
Hello foobar
foobar
What is the output when the following shell command 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
F.
foobar
D & E have the same answer, what makes D the correct choice?
ofcouse . Same answer
Please correct test . Why D and E same ?
also in the test will find a double same answer? I don’t think so… 😀