How can this be done?

To test a shell script called myscript, the environment variable FOOBAR must be removed temporarily.
How can this be done?

To test a shell script called myscript, the environment variable FOOBAR must be removed temporarily.
How can this be done?

A.
env- u FOOBAR myscript

B.
env -i FOOBAR myscript

C.
unset -v FOOBAR

D.
set -a FOOBAR=""



Leave a Reply 0

Your email address will not be published. Required fields are marked *