ns_env - Return, change or add a value of an environment variable
This command provides thread-safe (unlike Tcl env array) access to the environment variables of the currently running nsd process.
% ns_env names CONSOLE TERM INIT_VERSION PATH RUNLEVEL PWD PREVLEVEL SHLVL HOME % ns_env get PATH /usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin % ns_env set USER nsd % ns_env get USER nsd % ns_env unset USER