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


Customizing /etc/csh.cshrc

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

The /etc/csh.cshrc file is the system-wide profile for tcsh shell users and is read by subshells.

Figure 1 shows suggested settings for /etc/csh.cshrc provided in the IBM-supplied /samples/csh.cshrc:
Figure 1. Partial contents of the /samples/csh.cshrc file
# =================================================================
# path shell variable
# =================================================================
#
# Specifies the list of directories that the system searches for an
# executable command.
set path = (/bin)
# =================================================================
#
#  umask variable
#
umask 022
# ==================================================================

Use the cp command to copy the /samples/csh.cshrc file to /etc/csh.cshrc. Then edit /etc/csh.cshrc to change or add shell variables.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014