Multiple choice technology operating systems

What files are run when you log in successfully?

  1. .cshrc

  2. .c

  3. .log

  4. .login

Reveal answer Fill a bubble to check yourself
A,D Correct answer
Explanation

In Unix shells using csh or tcsh, .login is executed when you first log in, and .cshrc is executed every time a new C shell starts (including at login and for subshells). Both files are commonly used for shell initialization - .login for login-specific settings and .cshrc for settings that should apply to all shell instances.