LPI
102-400 · Question #85
How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?
The correct answer is C. env -u FOOBAR./myscript. See the full explanation below for the reasoning.
Question
How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?
Options
- Aunset -v FOOBAR;./myscript
- Bset -a FOOBAR="";./myscript
- Cenv -u FOOBAR./myscript
- Denv -i FOOBAR./myscript
How the community answered
(41 responses)- A5% (2)
- B2% (1)
- C78% (32)
- D15% (6)
Community Discussion
No community discussion yet for this question.