O'Reilly logo

Solaris™ 8 System Administrator Exam Cram™ 2 (Exams CX-310-011 and CX-310-012) by Darrell L. 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

Initialization Files

Several initialization (or startup) files are associated with each user account home directory (identified by the $HOME environment parameter). These files specify commands to be executed when the associated event occurs. Depending on the login shell being used, a login initialization file, a shell startup file, or a logout file can exist. Table 6.5 lists the various initialization files.

Table 6.5. Initialization Files
Fileshcshksh
Login initialization file$HOME/.profile$HOME/.login$HOME/.profile
Shell startup fileN/A$HOME/.cshrcUser-defined
Logout fileN/A$HOME/.logoutN/A

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

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