Article 6CEYA How to create a global environment variable in Linux?

How to create a global environment variable in Linux?

by
Brief-Wishbone9091
from LinuxQuestions.org on (#6CEYA)
say I want to set this variable as global environment variable in Linux. How would I do it?

Code:export GLOBAL_VARIABLE="This is a global variable"I'm seeing confusing answers in internet so I thought I'd ask here.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments