Each shell is customized by a shell dependent startup file as listed below.
| Shell Startup Table | |||
| shell | system | shell | login |
| Bourne | /etc/profile | .profile | |
| csh | /etc/csh.login | .cshrc | .login |
| tcsh | /etc/csh.login, /etc/tcsh.login | .tcshrc, .cshrc | .login |
| Korn | /etc/profile | .profile | |
| Bash | /etc/profile | .profile | .bash_login |
Example of system definitions inserted in /etc/csh.login:
#------This is /etc/csh.login - the system login file for csh users----- # stty dec crt new #----------------------------------------------------------------------- # Site customized path # path must be one line ending by " . ) or splitted in several "set path" #----------------------------------------------------------------------- # set path = ( $path /usr/locale/bin /usr/locale/lib /library/pubdom /library/pubdom/lib /library/pubdom/Acrobat3/bin /library/pubdom/include /usr/local/bin /library/cern/pro/bin /usr/sbin /usr/afsws/bin /usr/afsws/etc /library/doc /usr/bin/X11 /cern/pro/bin /cern/pro/lib . ) setenv MANPATH /usr/share/man:/usr/dt/share/man:/usr/local/man :/library/pubdom/man setenv WWW_HOME "http://www.bo.infn.it./" /library/pubdom/xdisplay # # GS & Ghostscript variable # setenv GS_LIB "/library/pubdom/ghostscript/3.12:/library/pubdom/ghostscript/fonts" # alias pine "/library/pubdom/pine" alias top "/library/pubdom/top" # #Coredump size limit to 0 # limit -h coredumpsize 0 limit coredumpsize 0 #------------------end csh.login---------------------------------------