LPI
102-350 · Question #121
102-350 Question #121: Real Exam Question with Answer & Explanation
The correct answer is C. env -u FOOBAR myscript. See the full explanation below for the reasoning.
Question
To test a shell script called myscript, the environment variable FOOBAR must be removed temporarily. How can this be done?
Options
- Aunset -v FOOBAR
- Bset -a FOOBAR=""
- Cenv -u FOOBAR myscript
- Denv -i FOOBAR myscript
Community Discussion
No community discussion yet for this question.