|
��������
profile - ������������� ����� �� ����� ����������� � �������.
��������
�������������� ����, .profile, ��������� ��������������
���������� �������, ����� ������������ �� ������ � �������. ���� ���� �-�������� ������������ ��� �������������� ������� ����� ������������ ����� ������������ �������������� ���������� ����� � ������ ��������� (������ environ(1)).
����� ������������ ������, �� ������� �������� ������� �������� ������������ ���� .profile. ���� �������, ����� ������� ������ �������� ��������� ������� � �����. ������� � ����� ����� ����� ���������� ������, ��� ���� �� ��� ��������� �� ����������. ����� ������, ������������ �� ����� (#), ��������������� ��� ����������� � ������������. ��� ������ ��������� �����:
# Tell me when new mail comes in MAIL=/usr/mail/myname # Add my /bin directory to the shell search sequence PATH=$PATH:$HOME/bin #Make some enviroment variables global export MAIL PATH TERM #Set file creation mask unmask 22
�������, ��� ���� /etc/profile - ������� ����������� �������, �������, ���� �� ����������, ����������� ��� ������� ������������ ����� ����������� .profile ������������.
�����
$HOME/.profile /etc/profile
��. �����
env(1), login(1), mail(1), sh(1), stty(2), su(1),
environ(7)
|