LPI
102-500 · Question #179
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
(20 responses)- A5% (1)
- B5% (1)
- C80% (16)
- D10% (2)
Community Discussion
No community discussion yet for this question.