Документ взят из кэша поисковой машины. Адрес оригинального документа : http://star.arm.ac.uk/sag-0.4/node79.html
Дата изменения: Sun May 4 15:24:40 1997
Дата индексирования: Mon Oct 1 22:49:53 2012
Кодировка:
Shell startup next up previous contents index
Next: Backups Up: Logging In And Out Previous: Access control

Shell startup

When an interactive login shell starts, it automatically executes one or more pre-defined files. Different shells execute different files; see the documentation of each shell for further information.

Most shells first run some global file, for example, the Bourne shell (/bin/sh ) and its derivatives execute /etc/profile ; in addition, they execute .profile  in the user's home directory. /etc/profile  allows the system administrator to have set up a common user environment, especially by setting the PATH to include local command directories in addition to the normal ones. On the other hand, .profile  allows the user to customize the environment to his own tastes by overriding, if necessary, the default environment.



Lars Wirzenius
Sun May 4 14:08:43 EEST 1997