z/OS UNIX System Services Planning
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


For the tcsh shell

z/OS UNIX System Services Planning
GA32-0884-00

The places to set environment variables, in the order that the system sets them, are:
  1. The RACF® user profile
  2. The /etc/csh.login file, which is the system-wide file that sets environment variables. This file is only run for login shells.
  3. The $HOME/.login file, which sets environment variables for individual users. This file is only run for login shells.
  4. The /etc/csh.cshrc file, which is the system-wide file that sets shell variables, some environment variables (like PATH), and umask. It also defines command aliases. It is used by subshells.
  5. The $HOME/.tcshrc file, which sets environment variables for individual users. It is used by subshells.
  6. The $HOME/.cshrc file, if it is provided for compatibility with the C shell.

Later settings take precedence. For example, the values set in $HOME/.login override those in /etc/csh.login.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014