[sf-lug] printenv "vs." set [was: Re: shell, man(1) [was: ...

Alex Kleider akleider at sonic.net
Sun Aug 21 16:16:00 PDT 2016


On 2016-08-21 15:59, Daniel Gimpelevich wrote:
> On Sun, 2016-08-21 at 15:55 -0700, Alex Kleider wrote:
>> It seems that no variable (shell or environment) can exist except in
>> the
>> context of the shell.  So does that make them all shell variables?
> 
> Variables set from a shell are shell variables. Those that are exported
> are environment variables in processes that inherit them.

..so I wasn't far off.  Thanks for the clarification.
a




More information about the sf-lug mailing list