nerdexam
LPI

102-350 · Question #138

Which command allows you 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 command allows you to make a shell variable visible to subshells?

Options

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

How the community answered

(69 responses)
  • A
    3% (2)
  • B
    71% (49)
  • C
    17% (12)
  • D
    1% (1)
  • E
    7% (5)

Community Discussion

No community discussion yet for this question.

Full 102-350 Practice