[Next] [Up] [Previous] [Contents]
Next: source Up: Additional commands Previous: script

setenv

The setenv (set environment variable) command assigns values to environment variables. Many environment variables are used by different Unix programs. We will see some of these in section [*]. It is also possible to define your own variables. To either define a new environment variable or change the value of an existing variable type


    setenv variablename newvalue
For example, setenv TERM vt100 assigns vt100 to the variable TERM.


c.c.taylor@ieee.org