Prism 6.0 User's Guide

Setting and Displaying Environment Variables

You can set, unset, and display the settings of environment variables from within Prism, just as you do in the Solaris environment.

Use the setenv command to set an environment variable. For example,

setenv EDITOR emacs

sets your EDITOR environment variable to emacs.

Use the unsetenv command to remove the setting of an environment variable. For example,

unsetenv EDITOR

removes the setting of the EDITOR environment variable.

Use the printenv command to print the setting of an individual environment variable. For example,

printenv EDITOR

prints the current setting of the EDITOR environment variable. Or, issue printenv or setenv with no arguments to print the settings of all your environment variables.