nerdexam
CompTIA

XK0-006 · Question #1

XK0-006 Question #1: Real Exam Question with Answer & Explanation

Sign in or unlock XK0-006 to reveal the answer and full explanation for question #1. The question stem and answer options stay visible for context.

Question

A systems administrator is preparing a Linux system for application setup. The administrator needs to create an environment variable with a persistent value in one of the user accounts. Which of the following commands should the administrator use for this task?

Options

  • Aexport "VAR=$VAR:value" >> ~/.ssh/profile
  • Bexport VAR=value
  • CVAR=value
  • Decho "export VAR=value" >> ~/.bashrc

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.

Full XK0-006 Practice