LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to allow exported value be reflected in all xterm shells? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-allow-exported-value-be-reflected-in-all-xterm-shells-164435/)

davidas 03-31-2004 01:11 AM

How to allow exported value be reflected in all xterm shells?
 
I have two xterm shells (bash). In the first xterm shell, I did a export=HTTP_PROXY=http://my.proxy.com:8080. However, when I did a echo $HTTP_PROXY in the second xterm shell, the assigned value is not reflected. So for now, if I want to do a http transfer (which requires a proxy setting), I would need to re-export the HTTP_PROXY value.

Is there any way to allow all instances of the xterm shells to have the assigned value?

Thanks !

hw-tph 03-31-2004 01:29 AM

If you want it to always be present in every shell you can put the command in your ~/.bash_profile.


Håkan


All times are GMT -5. The time now is 10:31 PM.