Что такое файл .profile в платформе AIX?

3989
Venkatesh

В моем домашнем пути есть один файл с именем .profile. Он содержит путь ORACLE_HOME и все. Для чего нужен файл .profile? Это похоже на файл .cshrc?

1

2 ответа на вопрос

1
Fran

Yes, it is similar. .profile is the shell startup script for the class of shells derived from the original Bourne shell. This includes (but probably isn't limited to) the Bourne shell, Bash, the Korn shell, and the Z shell.

1
Kyle Jones

.profile is to sh as .login is to csh, i.e. commands in it are read and executed by the Bourne shell (and compatible shells like bash) at startup for interactive login shells.

Похожие вопросы