How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?

How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?
A .  unset -v FOOBAR;./myscript
B .  set -a FOOBAR="";./myscript
C .  env -u FOOBA
D . /myscript
E .  env -i FOOBA
F . /myscript

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments