CompTIA
XK0-006 · Question #65
A Linux administrator wants to make the ENABLE_AUTH variable set to 1 and available to the environment of subsequently executed commands. Which of the following should the administrator use for this t
Sign in or unlock XK0-006 to reveal the answer and full explanation for question #65. The question stem and answer options stay visible for context.
Automation, Orchestration, and Scripting
Question
A Linux administrator wants to make the ENABLE_AUTH variable set to 1 and available to the environment of subsequently executed commands. Which of the following should the administrator use for this task?
Options
- Alet ENABLE_AUTH=1
- BENABLE_AUTH=1
- CENABLE_AUTH=$(echo $ENABLE_AUTH)
- Dexport ENABLE_AUTH=1
Unlock XK0-006 to see the answer
You've previewed enough free XK0-006 questions. Unlock XK0-006 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#export#environment variables#bash#shell