nerdexam
CompTIA

LX0-102 · Question #448

Which of the following commands allows an administrator to make a shell variable visible to subshells?

The correct answer is B. export VARIABLE. See the full explanation below for the reasoning.

Question

Which of the following commands allows an administrator to make a shell variable visible to subshells?

Options

  • Aexport $VARIABLE
  • Bexport VARIABLE
  • Cset $VARIABLE
  • Dset VARIABLE
  • Eenv VARIABLE

How the community answered

(43 responses)
  • A
    5% (2)
  • B
    81% (35)
  • C
    2% (1)
  • E
    12% (5)

Community Discussion

No community discussion yet for this question.

Full LX0-102 Practice