nerdexam
LPI

101-500 · Question #285

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

Sign in or unlock 101-500 to reveal the answer and full explanation for question #285. The question stem and answer options stay visible for context.

Shells and Shell Scripting

Question

What does the following command do? cat '$TEST'

Options

  • ADisplays a bash syntax error message.
  • BDisplays the contents of the file named $TEST if it exists.
  • CWaitsfor the user to enter text and then echos the text back.
  • DDisplays the contents of the file named inside the back quotes.
  • EDisplays the contents of the named by the environment variable TEST.

Unlock 101-500 to see the answer

You've previewed enough free 101-500 questions. Unlock 101-500 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Shell quoting#Variable expansion#Single quotes#cat command
Full 101-500 Practice