ns_env - Return, change or add a value of an environment variable
This command provides thread-safe access to the environment variables of the currently running nsd process. This differs from the plain Tcl commands for accessing the environment.
% 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