101-400 Exam QuestionsBrowse all questions from this exam

101-400 Exam - Question 45


What is the purpose of the Bash built-in export command?

Show Answer
Correct Answer: D

The Bash built-in export command is used to set up environment variables for applications by making them available to child processes and subshells. This ensures that these variables are inherited by any command or application run in that context, allowing for the necessary configuration and data to be shared.

Discussion

1 comment
Sign in to comment
DuboisNicolasDuclairOption: D
Oct 21, 2023

The purpose of the Bash built-in `export` command is: D. It sets up environment variables for applications. The `export` command is used to make environment variables available to child processes or subshells, ensuring that those variables are inherited by any command or application run in that context. This is essential for passing configuration and data between different processes and for setting up environment variables that applications rely on.