[wplug] Environment Variables
Mackenzie Morgan
macoafi at gmail.com
Tue Apr 8 14:09:16 EDT 2008
On Tue, 2008-04-08 at 14:05 -0400, Michael Semcheski wrote:
> 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.
But he said he was closing the terminal and opening a new one. That
wouldn't be a child shell. Carrying to a child shell seems sensible.
If it's a totally new instance, though, it shouldn't carry over.
--
Mackenzie Morgan
http://ubuntulinuxtipstricks.blogspot.com
apt-get moo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.wplug.org/pipermail/wplug/attachments/20080408/c772be91/attachment.bin
More information about the wplug
mailing list