next up previous contents
Next: Actions performed by Up: Customising the scripts Previous: Customising the scripts

Setting environment variables

 

For the setting of environment variables you should only use the sys.conf.[c]sh file in /etc/hepix. So you have always an overview about the variables you set and there is only one location for Bourne and C shell flavours at each level.

The syntax is very simple:

ENVIRONMENT_VARIABLE=value; export ENVIRONMENT_VARIABLE for Bourne shells

setenv ENVIRONMENT_VARIABLE value for C-shells

Note: If you use variables in this file you have to quote them. After the variable definition additional spaces on the line are not allowed.

/etc/hepix/env.[c]sh

In the environment files /etc/hepix/env.[c]sh you can make any modifications to your environment, but be careful with commands producing output to the standard output or that set terminal characteristics. This output prevents the usage of remote commands like rcp.



Arnaud Taddei
Tue Dec 12 08:15:58 MET 1995