nerdexam
LPI

102-400 · Question #77

Which command makes the shell variable named VARIABLE visible to subshells?

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

Question

Which command makes the shell variable named VARIABLE visible to subshells?

Options

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

How the community answered

(22 responses)
  • A
    9% (2)
  • B
    73% (16)
  • D
    5% (1)
  • E
    14% (3)

Community Discussion

No community discussion yet for this question.

Full 102-400 Practice