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=""
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=""