O'Reilly logo

Solaris™ 9 System Administrator Exam Cram™ 2 (Exams 310-014 and 310-015) by Darrell Ambro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

Table 3.8. Initialization Files
FileBourne (sh)C (csh)Korn (ksh)
Login initialization file.profile.login.profile
Shell startup initialization fileN/A.cshrcuser-defined
Logout fileN/A.logoutN/A

Commands in the login initialization file are executed when the user logs in. All three common shells provide a login initialization ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required