VDQ : Can I let a user restart Privoxy? -- PS

Jim Bauer jfbauer at comcast.net
Mon Mar 21 20:30:36 MST 2005


On Monday 21 March 2005 14:09, Longman, Bill wrote:

> From your shell prompt, you can see what your current environment (for your
> [probably] bash shell) looks like with the "set" command.

"set" show all shell variables (and shell functions) not just environment 
variables.  "env" just show environment variables.

> One thing the shell allows you to do is limit which environment variables
> get "exported" to subprocesses. (Subprocesses are any external commands
> i.e., not shell builtins, you run from the command line.) Use the "env"
> command to see which ones they are. You should notice that the list of
> environment variables returned from the "env" command are fewer than the
> number of variables listed from the "set" command.
>
> By default, environment variables in the shell are local variables. You
> have to manually export them if you want subshells to know about them.

An exported shell variable /is/ an environment variable.


More information about the yellowdog-general mailing list