LPIC-1 Exam 102 v5 (Linux Administrator) — Question 46

Which command makes the shell variable named VARIABLE visible to subshells?

Answer options

Correct answer: E

Explanation

The correct answer is E, as the 'export' command is specifically designed to mark a variable for export to the environment of subsequently executed commands, including subshells. The other options either incorrectly use the 'export' syntax or do not provide the needed functionality to make the variable accessible in subshells.