The file .cshrc

In your home directory there is an important file, .cshrc, which contains information which is read by the Unix shell (csh or tcsh) every time you log onto the computer or open a new terminal window. (Other Unix shells look for equivalent files by the name of .kshrc or .profile or .bashrc...)

Type cd (to go to your home directory) and then ls -al (to show all your files, even those whose names start with a dot).

Look at the contents of your .cshrc file with the command more .cshrc, looking especially for ``path'' and ``alias''.

Here are typical contents of the file .cshrc:

umask 077
setenv PRINTER richard2
setenv EDITOR vi
setenv PAGER more
setenv TEXHOME /usr/local/tex
set path=($path /usr/local/bin $/bin)
set history=40
alias dir      '/bin/ls -alF \!* | more'
alias h        'history'
alias duu      '/bin/du -k | sort -n | tail -20'
alias newton   'ssh newton.colorado.edu'
What they do: