nerdexam
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)
  • A
    14% (4)
  • B
    4% (1)
  • C
    79% (22)
  • E
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 101-400 Practice