nerdexam
LPI

101-500 · 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. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

Shells and Shell Scripting

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

(36 responses)
  • A
    6% (2)
  • B
    3% (1)
  • C
    89% (32)
  • E
    3% (1)

Explanation

You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

Topics

#variable export#environment variables#shell commands#process inheritance

Community Discussion

No community discussion yet for this question.

Full 101-500 Practice