->Title Page
->Intro
->Unix
-->Overview
-->File Structure
-->Online Manual
-->Basic Commands
-->Additional Commands
->Login files
--->.cshrc
--->.login
-->Special characters
-->Miscellaneous Tips
-->Things to try
->Vi editor
->Mirror sites
->Further reading

[ Up ]
[Prev][Home][Next]
[Author]

Unix --> Login files

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.

Please notify owners of webpages with outdated links to these pages

Find this site useful? Want to give something back?

© 1993-2001 Christopher C. Taylor