Looking at your csh configuration files

As Code Listing 8.13 shows, you can use more or the editor of your choice to peek at your csh configuration files. As with other shells, the csh configuration files run in a specific order:

1.
System-wide configuration files (such as /etc/csh.cshrc) run first upon login.
2.
The main configuration files specific to your UNIX account (~/.cshrc) run next if they're available.
3.
The ~/.login configuration file runs last.

To look at your csh configuration files:

  • more .cshrc .login
    Type more followed by .cshrc and .login, which are the only possible names for csh configuration files. You'll see something similar to Code Listing 8.13. For our system, we have:
    • ~/.cshrc (automatically called by the system) ...

Get Unix: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.