πŸ“Š Linux
Q. Which command is used to permanently add a new environment variable in Linux?
  • (A) Edit /etc/environment file
  • (B) export VAR=value
  • (C) setenv VAR=value
  • (D) env VAR=value
πŸ’¬ Discuss
βœ… Correct Answer: (A) Edit /etc/environment file

Explanation: Editing /etc/environment makes the variable available system-wide and permanent.

Explanation by: Mr. Dubey
Editing /etc/environment makes the variable available system-wide and permanent.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
53
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
81%
Success Rate