nerdexam
LPI

102-500 · Question #179

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

(20 responses)
  • A
    5% (1)
  • B
    5% (1)
  • C
    80% (16)
  • D
    10% (2)

Community Discussion

No community discussion yet for this question.

Full 102-500 Practice