nerdexam
LPI

102-350 · Question #16

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

(25 responses)
  • A
    4% (1)
  • B
    72% (18)
  • D
    8% (2)
  • E
    16% (4)

Community Discussion

No community discussion yet for this question.

Full 102-350 Practice