nerdexam
LPI

101-500 · Question #148

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

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

Shells and Shell Scripting

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

(14 responses)
  • A
    7% (1)
  • D
    93% (13)

Explanation

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

Topics

#shell variables#unset command#environment variables#variable removal

Community Discussion

No community discussion yet for this question.

Full 101-500 Practice