Software Knowledge

  1. Home
  2. Docs
  3. Software Knowledge
  4. LINUX
  5. Linux: C Shell (csh)
Generic selectors
Exact matches only
Search in title
Search in content

Linux: C Shell (csh)

What are the .login and .cshrc files?

When you first login to a UNIX system, the C shell commands contained in the .cshrc file are executed, followed by the commands in the .login file.

If you are using an X terminal or workstation, the .cshrc file is also executed each time you create an Xterm terminal window. Xterm will also execute the .login file only if told to, via the flag -ls (create login shell).