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

SHUTDOWN(1M)

��������
shutdown - ��������� �������, ��������� ������ ����������

���������

/etc/shutdown  [-y] [-g��������] [-i�������_����������]

��������
������� shutdown ������ ��� ��������� ������ ���������� �������. �� ��������� ������� ����������� � �������������������� �����, � ������� �� UNIX �������� ������ � �������.

����� ������� �������� �� ��������� ������ ���������� ������� �������� ������� ���������������, � ����� �������� � ��������� ���������. �� ��������� ����� ���������� ������� � ����������� ��������� ������������� �������������.

��������� ��������� �����:

-y
�������� ������ �������������. ������� ����� �������� ��� ������������� ������������. �� ���������, ����� ��������������� � ��������� ����������� ������������� �������� � 60 ������; ����� �� �������� ����������� ����� ��������� ���������� � �������� �������������.

-g��������
�������� ����������� �������� ��������.

-i�������_����������
�������_���������� ���������� ������� init(1�). ������� �������� �� ���� ������� ����� ���� ���������, �������� � �������������. ��������������� ������� ���� S (�� ��, ��� s, � ����� �� ��, ��� 1).

������������� ������_���������� � �������� ��� �������� �� ���:

0
���������� �������, ���������� �� � ����������� ���������� �������. ��������� �������, ���� ��������� ����������. ��� ���������� ���� �������� ���������� ��������� /etc/rc0.

1, s, S
��������� ������� � �������������������� �����, ��������� ��������� /etc/rc0. ������� ����� �������� S � 1 ������� � ���, ��� �� ������ S ��� ��������, ����������� init, ���������, �� �������� ������� �� ��������������. �� ������ 1 �������������� ��� �������� �������, ����� ��������, � ��������� ��� ���������������� ��������, ����� ����������.

6
���������� ������� � ��������� ������������.

������� shutdown �������� �� ����� shell; �� ����� ��������� ������ �����������������.

��. �����
init(1M), rc0(1M), rc2(1M).
inittab(4) � ����������� ������������.
Comments: [email protected]
Designed by Andrey Novikov
Copyright © CIT