Multiple choice technology operating systems

A local variable can be used by child processes of a shell.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Local variables defined in a shell script or session are restricted to the current shell instance. They are not inherited by child processes unless they are explicitly exported to the environment using the export command, making the statement false.