On UNIX platforms, running environment source files sets the
required environment variables. However, if you must set optional
variables or change defaults, use this procedure.
To check the setting for an environment variable,
use:
echo $variable-name
For example, to see the setting for the $SYBASE
variable:
% echo $SYBASE
/server1/users/test/sybase
In one of your startup files (.cshrc, .shrc, .login),
add a line that sets the variable.
In some shells (such as sh, bash, ksh) the line is: