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)- A5% (2)
- B81% (35)
- C2% (1)
- E12% (5)
Community Discussion
No community discussion yet for this question.