| You are here: SillyDog701 > UNIX Guide >SillyDog701 > UNIX Guide > (index) |
To make a temporary change to the value of an environment variable enter the command:
setenv VARNAME value_of_variable
This value will remain until you logout from the system or exit from the shell you are working in. By convention, the names of environment variables are given in UPPER CASE.
To make lasting changes to the value of an environment variable:
1. Use your editor to open the .cshrc (.tcshrc) and add the line:
setenv VARNAME value_of_variable
2. Save the file and leave the editor.
3. Enter the command:
source .cshrc (.tcshrc)
This adds the new value for the variable to your environment.
UNIX Guide home |
search |
index
| Page URL: http://sillydog.org/unix/ [SillyDog701] [Netscape] [MozInfo701] [MacCentre701] [UNIX Guide] [AntTunes701][Forums] [Search] [Change Log] [Feedback] [About Us] [Sitemap] This UNIX Guide maintained by SillyDog701, portion of this Guide is based on UNIXhelp. UNIXhelp is copyright University of Edinburgh. This page was last modified on 14 March, 2006 |
support MozInfo701 and SillyDog701 |