[wplug] Environment Variables

Michael Semcheski mhsemcheski at gmail.com
Tue Apr 8 14:05:22 EDT 2008


On Tue, Apr 8, 2008 at 1:48 PM, Mackenzie Morgan <macoafi at gmail.com> wrote:

> On Tue, 2008-04-08 at 13:46 -0400, Weber, Lawrence A wrote:
>
> I'm pretty sure that's how it always works.  You have to add it to
> your .bashrc to make them permanent.
>

For me, if I do:
export test1="TEST"
xterm&

and then in the xterm, run:
echo $test1

It prints TEST.

So, variables from one shell are exported to "child" shells.

Why that isn't happening for the OP, I'm not sure.  I'm guessing there's an
option to turn that behavior off.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.wplug.org/pipermail/wplug/attachments/20080408/131de8d0/attachment.html


More information about the wplug mailing list