Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://comet.sai.msu.ru/UNIXhelp/environment/env3b.html
Дата изменения: Fri Jan 17 12:43:15 1997 Дата индексирования: Tue Oct 2 01:47:12 2012 Кодировка: Поисковые слова: ultraviolet |
At login the C (and TC shell) reads initialisation files in your home directory. First it reads the file .cshrc (.tcshrc for TC shell) followed by the file .login.
In addition to environmental variables, both these shells have a number of local shell variables which are not exported to the environment.
When another shell is created to run a program, it only reads the .cshrc (.tcshrc) file, but it inherits any environment variables that were set up at login.