LPIC-1 Exam 101 (Linux Administrator) — Question 26
What is the purpose of the Bash built-in export command?
Answer options
- A. It allows disks to be mounted remotely.
- B. It runs a command as a process in a subshell.
- C. It makes the command history available to subshells.
- D. It sets up environment variables for applications.
- E. It shares NFS partitions for use by other systems on the network.
Correct answer: D
Explanation
The correct answer, D, is accurate because the export command is specifically used to set environment variables that can be accessed by subsequently executed processes. Options A, B, C, and E describe different functionalities that are not related to the export command's purpose in the Bash shell.