LPI
101-400 · Question #422
Which of the following shell commands makes the already defined variable TEST visible to new child processes? (Choose two.)
The correct answer is C. declare -x TEST D. export TEST. See the full explanation below for the reasoning.
Question
Which of the following shell commands makes the already defined variable TEST visible to new child processes? (Choose two.)
Options
- Avisible TEST
- Bdeclare +x TEST
- Cdeclare -x TEST
- Dexport TEST
- Eexport -v TEST
How the community answered
(28 responses)- A14% (4)
- B4% (1)
- C79% (22)
- E4% (1)
Community Discussion
No community discussion yet for this question.