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)- A9% (4)
- B2% (1)
- C11% (5)
- D77% (34)
Community Discussion
No community discussion yet for this question.