Setting environment variables

This section gives instructions for setting environment variables in the C shell and the Bourne shell.

To set environment variables in the C shell, use this command:

setenv VARIABLE value

For example, the following command defines the DSQUERY environment variable as “test”:

setenv DSQUERY test

To set environment variables in the Bourne shell, use this command:

VARIABLE=value; export VARIABLE

For example, the following command defines the DSQUERY environment variable as “test”:

DSQUERY=test; export DSQUERY