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.
unset v FOOBAR

B.
set a FOOBAR=””

C.
env u FOOBAR myscript

D.
env i FOOBAR myscript



Leave a Reply to Mohannad Sobhy Cancel reply1

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

one × five =


Mohannad Sobhy

Mohannad Sobhy

The correct answer is:

env -u FOOBAR myscript