Every time you log in, the Unix shell searches your home directory
for certain files and executes the commands in them. This allows you
to customize your Unix session. There are two initialization files
that I will discuss here. The .cshrc (pronounced `dot-see-shirk')
file and the .login (pronounced `dot-login') file. The
.cshrc file is executed every time a new C shell is started.
The .login is executed after the .cshrc file only
when you initially log in. Generally, environment variables should
be set in the .login file, and alias and set
commands should be in the .cshrc file so that every new copy
of the C shell will be able to use them.
Find this site useful? Want to give something back?
© 1993-2000 Christopher C. Taylor