nerdexam
LPI

102-400 · Question #85

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

(41 responses)
  • A
    5% (2)
  • B
    2% (1)
  • C
    78% (32)
  • D
    15% (6)

Community Discussion

No community discussion yet for this question.

Full 102-400 Practice