nerdexam
LPI

101-350 · Question #59

Once a shell variable has been created, how can the variable be removed from the environment?

The correct answer is D. unset VAR. See the full explanation below for the reasoning.

Question

Once a shell variable has been created, how can the variable be removed from the environment?

Options

  • AVAR=
  • Bset -d VAR
  • Cset -u VAR
  • Dunset VAR

How the community answered

(44 responses)
  • A
    9% (4)
  • B
    2% (1)
  • C
    11% (5)
  • D
    77% (34)

Community Discussion

No community discussion yet for this question.

Full 101-350 Practice