.cshrc file to store alias, history, and prompt definitions.
Storing your C shell Settings
You have been customizing your environment by entering changes at the command line.
But anything you do at the command line applies only to your current session. Once you log out, any aliases you changed, along with the history and prompt definitions, are lost.
To make your custom settings permanent, you must store them in a configuration file in your home directory. In the C shell,
this file is called .cshrc.
Every time you log in, UNIX reads your .cshrc file and processes the commands it contains.
Typically, this file is where you define aliases and C shell variables. The following MouseOver presents a sample .cshrc file.
It is assumed that the .cshrc file was created during your current UNIX session.
As a result, none of the new settings would be in effect. They would take effect only after your next log in.
Configuration files like .cshrc are one place where you can store commands in a file. Shell scripts are another place.
In the next lesson, this module will be concluded by reviewing key commands, terms, and concepts you have learned.