Server for Information Technologies ������ ��������������
������� �������������� ����������
(095) 932-9212, 932-9213, 939-0783
E-mail: [email protected]
������ �������� ����(!) ������������� ���������� CIT Forum CD-ROM

PROFILE(7)

��������
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)
Comments: [email protected]
Designed by Andrey Novikov
Copyright © CIT