I'm working on Linux,
Can anybody please help me to set a env variable on Linux that will be available for all process running on the same machine?
migrated from stackoverflow.com Oct 6 '12 at 7:05
This question came from our site for professional and enthusiast programmers.
You have to write the definition of your env variable into /etc/profile :
If that doesn't work, you could try /etc/environment