QuestionQ63

VerifiedSystem Management

A systems administrator is preparing a Linux system for application setup. The administrator must create an environment variable with a persistent value for one user account. Which command should the administrator use?

Explanation

Appending export VAR=value to ~/.bashrc persists the variable definition for the user and causes Bash to export it when the user starts applicable shell sessions.

Community Discussion

No comments yet. Be the first to start the discussion!