nerdexam
LPI

101-500 · Question #339

101-500 Question #339: Real Exam Question with Answer & Explanation

The correct answer is D. Hello foobar. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

Shells and Shell Scripting

Question

What is the output when the following shell script executes? Cat <<foobar Hello foobar foobar

Options

  • AThe contents of the file foobar
  • BHello
  • CNo output but a file named foobar is created
  • DHello foobar
  • EHello foobar

Explanation

You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

Topics

#here-document#shell-scripting#input-redirection

Community Discussion

No community discussion yet for this question.

Full 101-500 Practice