next up previous contents index
Next: Getting Values of Up: Environment Variables Previous: Environment Variables

Setting Environment Variables

Your default printer, for example, is defined by the environment variable PRINTER (for information on the available printers and their names and characteristics, see the WWW entry for printing; from the CERN Computing Home Page (URL - http://www.cern.ch/CERN/Computing.html), select in turn -- UNIX Workstation Support --> Springer --> List of Registered Printers; WWW is described in Section gif). To change the default value of PRINTER, enter the command

 
           		  setenv PRINTER   printer-name  		 C shell family

PRINTER= printername; export PRINTER Bourne shell family

If the value you wish to assign to a variable contains blanks, enclose the string in quotes (``).



Alan Silverman
Wed Apr 12 16:54:02 METDST 1995