Previous Topic: Korn Shell Initialization FilesNext Topic: Defining UNIX Jobs


Bourne shell initialization files

When you log in to your system, the Bourne shell looks for the /etc/profile file. This file contains system-wide startup commands for the Bourne shell. Only the system administrator can change this file.

After running the commands in the /etc/profile file, the Bourne shell runs the commands in the $HOME/.profile file. Therefore, you can override the system-wide commands in the /etc/profile file with commands in the $HOME/.profile file.