nerdexam
LPI

101-400 · Question #37

Which of the following command sets the Bash variable named TEST with the content FOO?

The correct answer is D. TEST="FOO". See the full explanation below for the reasoning.

Question

Which of the following command sets the Bash variable named TEST with the content FOO?

Options

  • Aset TEST="FOO"
  • BTEST = "FOO"
  • Cvar TEST="FOO"
  • DTEST="FOO"

How the community answered

(63 responses)
  • A
    5% (3)
  • B
    3% (2)
  • C
    13% (8)
  • D
    79% (50)

Community Discussion

No community discussion yet for this question.

Full 101-400 Practice