ComTIA LX0-102 Free Exam Question 2

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

Options

A. unset -v FOOBAR
B. set -a FOOBAR=""
C. env -u FOOBAR myscript
D. env -i FOOBAR myscript

Correct Answer: C

Show Answer

2 Exams PDF Files

$50 Original Price $ 70

  • Latest and Most Up-todate Dumps
  • Free 3 Months Updates
  • Exam Passing Guarantee
  • Secure Payment
  • Privacy Protection

3 Exams PDF Files

$70 Original Price $ 105

  • Latest and Most Up-todate Dumps
  • Free 3 Months Updates
  • Exam Passing Guarantee
  • Secure Payment
  • Privacy Protection

4 Exams PDF Files

$85 Original Price $ 140

  • Latest and Most Up-todate Dumps
  • Free 3 Months Updates
  • Exam Passing Guarantee
  • Secure Payment
  • Privacy Protection

5 Exams PDF Files

$100 Original Price $ 175

  • Latest and Most Up-todate Dumps
  • Free 3 Months Updates
  • Exam Passing Guarantee
  • Secure Payment
  • Privacy Protection