nerdexam
LPI

117-102 · Question #38

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

(26 responses)
  • A
    4% (1)
  • B
    69% (18)
  • C
    15% (4)
  • D
    4% (1)
  • E
    8% (2)

Community Discussion

No community discussion yet for this question.

Full 117-102 Practice