Making a temporary change

To make a temporary change to the value of an environment variable enter the command:

   $ VARNAME=value_of_variable

This value will remain until you logout from the system or exit from the shell you are working in.

To make other programs that use the variable aware of the new value enter the command:

   $ export VARNAME

[Home] [Search] [Index]