User Account Initialization Files
Several initialization (or startup) files are associated with each user account home directory. These files are used to specify commands to be executed when the associated event occurs. Depending on the login shell being used (Bourne Shell, C Shell, or Korn Shell), there might be a login initialization file, a shell startup file, or a logout file. Table 3.8 lists the various initialization files.
|File||Bourne (sh)||C (csh)||Korn (ksh)|
|Login initialization file||.profile||.login||.profile|
|Shell startup initialization file||N/A||.cshrc||user-defined|
Commands in the login initialization file are executed when the user logs in. All three common shells provide a login initialization ...