������� | ������������ | ����� | ������ | ��������
���� | ��������� | ������ | �������� ����� | �����
������� << ������  << �����  << ����  << �������

next up previous contents
���: ��� ��� �������� ... �����: Linux System Administrators' Guide �����: �����������


������

����� ���� �� inode, ��� �� ����� ���� �� ��� �������\\inode. ������, ��� ������� ������� ����� ����������, �� ����\\inode � � ������, � �� �����, �� ������ ����������, �\\������-�������� ���������, ��� ���������� �� inode. ���� inode\\�� ����� ��������, �� ������, �� �� ������� �����������\\``������ ������'' - hard link. ����� �� ���� ��������\\������ ��������� �� ���� � ��� �� ���� - ��� ����������� ��\\������� ���, ���� �� ���� ���� �� ����� ����.

��� ����� �������� ������ �� ��������� �� �'�����\\(�����������) �������� (soft link ��� symbolic link,\\symlink). ���� ������� ������ �� �� �� ����, �� ������ ����\\����� ������ � ���� � �����, �� ��������� ������ - ��\\����������� ��� �����. ���� ���������� �� ��������� ������,\\���������, �������� ls -l , �� ������, �� ���������\\������ - �� ���� ���� ���������� ������, ����� 10-14 ����. ��\\� ���� �� �����? �� - ������ ������� �� �������� (�� ������\\������) ���� ��������� ������.

���, ���������, ���� ��������� ������ ���� �������� �����\\��������, �� ln -s /usr/X11R6 /usr/X11  , �� ����\\/usr/X11  ���� ���������� ������� �� /usr/X11R6 , �\\���� ����� ���� ���� 10 ���� - ����� ������� ������� �\\/usr/X11R6, ����� �� '/'.

# ln -s /usr/X11R6 /usr/X11
#ls -l
#total 42
#lrwxrwxrwx 1 root root 10 Mar 31 08:22 X11 -> /usr/X11R6/
# [...]

³� ��������� ����� (� ���� ���� � �� �������� ������)\\��������� ������ ����������� ������ �������� � �����, ��\\����� ��� ����� - ����� � ���� ���� inode, �� ����������\\��� �����, � ��������� ������ �������� ``l''.

�� ���� ������ �������?

��� ������������� ��� ����� ��� ��� ����� ������ �������������\\���������� ���������. ���� � ˳���� ��������� ��� ��\\������������ amd  - ������� �������������� BSD, ��� ��\\autofs  - ���� ������� �������������� � ˳����, ���\\������� � ������ 2.x. �� ��, ��� � ���� ����� ����� ��� �����\\�� �����, ��� �� �, ��� � ���� �������� �� ����� ��������\\������ ���������, � ������ �������� �� ��������\\������������ �����. ������� ������ ������� ���� � �� �����.

������

Installation and Getting Started\\guide ([#!getting-started!#])

����� ������� ��������

��� /etc/vfstab  �\\������� �� Solaris'��

���������� �� �������������

������� ��� ����� �������� ������� - ��\\��������� � ������� ���� ���������������� ������� ������\\����. ����� �� �� � � �����, �� �� ������ � ��������\\�������� ����, ���� ��������� ���� ������� - ���������� ��\\��������������� �������. �� ����� ������� ��������� �\\����-���� ������� ����, ����� ����������� ������������,\\�������� ����������� �������, ����, ���� �� ���������� �����\\�� ���������. ����� ���� �� ���������� � ��������� ���������\\�������� � ������� ���� (��� ������� � ������ ������\\���������� ����� ��� ����, ��� ������� ��� ������� ������,\\��� ��������� ���� �����-����� ������ ���� (��� ������,\\������� ���� ��� �������� ��ﳿ - ������ �� �� ��-������),\\��� ��������� �� ����� ������� ������ ����� �� ��������� ��\\�� �������� ���� ���� ���� ������������. ���'������, �� �\\����� (� ��� ���� � ˳����) �� ���� ������ �� ���\\��������� ������� �� ��������� ��������� ������ - �� ������\\���������� ������� � ����� �� ����, ������������� ����������\\������� �� � �����, �� �� ��������, ������ ��������\\�������� ����������� ���� (MBR) �� �������� �� �����������\\����, �� ��������� ������ ������� ������� ��� ����� - RTFM\\(���, �� �� ��������� ����� ���������� ``�������� ����������\\�������''. ���������� ���������� ����� ����� �������� ����\\�������� �������� ���� ���������� ���������).

����� ������ �����

$(cd /home; du -s *

sort -nr  head -10  awk ' { print $2}')  xargs rm -rf'' \\ | sort -nr  head -10  awk ' { print $2}')  xargs rm -rf'' \\

(���. ROM)

������ �����

.hushlogin

�� ������ login

.profile

����� �������� �������� | ����� �������� �������� | ������ ��������: /etc/skel | ������ ��������: /etc/skel | ������ ��������: /etc/skel | ������ ��������: /etc/skel | ������ ��������: /etc/skel

/bin

�������� ������� ������� | �������� ������� ������� | �������� ������� ������� | ������� ������� /usr | ����� ������ �����

/bin/sh

���������� �� ������������� | init ��������� ������ | ����� �������� ��������

/boot

�������� ������� �������

/dev

�������� ������� ������� | �������� ������� ������� | no title | ��������� /dev | ��������� /dev | ��� ���� �������� | ����� ������ �����

/dev/fd0

����� �����

/dev/fd0H1440

����� �����

/dev/fd1

����� �����

/dev/hda

������ �����

/dev/hda1

���������� ����� �������� ��

/dev/hda2

���������� �� ������������� | ���������� �� �������������

/dev/hdb

������ �����

/dev/hdc

������ �����

/dev/hdd

������ �����

/dev/MAKEDEV

��������� /dev | ��������� /dev

/dev/MAKEDEV.local

��������� /dev

/dev/sda

��� ���� �������� | ������ �����

/dev/sdb

������ �����

/dev/sdb7

���������� ����� �������� ��

/dev/tty

��������� init ��� ������ getty: /etc/inittab

/dev/tty1

��������� init ��� ������ getty: /etc/inittab | ��������� init ��� ������ getty: /etc/inittab

/etc

�������� ������� ������� | �������� ������� ������� | no title | ��������� /etc | ����� ������ ����� | �� ����������

/etc/aliases

������� ������� /var | ������� ������� /var

/etc/csh.cshrc

��������� /etc

/etc/csh.login

��������� /etc

/etc/default/login

��������� �������� | ��������� ��������

/etc/fastboot

�������� �������� �������� ������ fsck | �������� �������� �������� ������ fsck

/etc/fdprm

��������� /etc | ����� �����

/etc/fstab

��������� /etc | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | �� ������ ��� ����� | ������������ ������� | ������������ ������� | ������������ �������

/etc/group

��������� /etc | ��������� �������� | ��������� ����� ������������ ������ | ���� ������������ ������� ������������ | ���������� ����������� � ������

/etc/init.d/rc

�� ������

/etc/inittab

��������� /etc | no title | ��������� init ��� ������ getty: /etc/inittab | ��������� init ��� ������ getty: /etc/inittab | ��������� init ��� ������ getty: /etc/inittab | ��������� init ��� ������ getty: /etc/inittab | ��������� init ��� ������ getty: /etc/inittab | ��������� init ��� ������ getty: /etc/inittab | ��������� init ��� ������ getty: /etc/inittab | ��������� init ��� ������ getty: /etc/inittab | �� ������ | �� ������ | �� ������ | no title | ���������� ������������ � /etc/inittab | ���������� ������������ � /etc/inittab

/etc/issue

��������� /etc | ��������� � ������ �����

/etc/localtime

³���������� �� ��������� ����

/etc/login.defs

��������� /etc

/etc/magic

��������� /etc

/etc/motd

����������� ��������� �� ���� | ��������� /etc | �� ������ login

/etc/mtab

��������� /etc

/etc/nologin

�� ������ login

/etc/passwd

��������� /etc | ��������� /etc | ��������� /etc | �������� � ������������������ ����� | ��������� � ������ ����� | ��������� �������� | no title | /etc/passwd �� ���� ������� | /etc/passwd �� ���� ������� | /etc/passwd �� ���� ������� | /etc/passwd �� ���� ������� | ��������� ����� ������������ ������ | ��������� ����� ������������ ������ | ���� ������������ ������� ������������ | ���� ������������ ������� ������������ | ���������� ����������� � ������ | ��������� �������� ������������ �������� | ��������� �������� ������������ ��������

/etc/printcap

��������� /etc

/etc/profile

��������� /etc | ����� �������� �������� | ����� �������� �������� | ������ ��������: /etc/skel

/etc/rc

��������� /etc | ��������� /etc

/etc/rc.d

��������� /etc

/etc/rc?.d

��������� /etc

/etc/securetty

��������� /etc | ��������� ��������

/etc/security/passwd.adjunct.

��������� �������� | ��������� ��������

/etc/shadow

��������� /etc | ��������� /etc | ��������� �������� | /etc/passwd �� ���� ������� | /etc/passwd �� ���� ������� | /etc/passwd �� ���� �������

/etc/shadow.group

��������� ��������

/etc/shells

��������� /etc | ��������� /etc

/etc/skel

no title | ������ ��������: /etc/skel | ������ ��������: /etc/skel | ������ ��������: /etc/skel | ������ ��������: /etc/skel | ������ ��������: /etc/skel | ������ ��������: /etc/skel | ������ ��������: /etc/skel | ������ ��������: /etc/skel | ��������� ����� ������������ ������

/etc/skel/.profile

������ ��������: /etc/skel

/etc/termcap

��������� /etc | ��������� /etc | ��������� /etc

/etc/vfstab

���������� �� ������������� | ���������� �� �������������

/extra-swap

��������� �������� ��� �������

/home

������ | �������� ������� ������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ����� ������ ����� | ���� ������ ������ ����� | ���� ������ ������ ����� | �� ����������

/home/ENVIRON/ZAVHOSP/profile

������ ��������: /etc/skel | ������ ��������: /etc/skel

/home/staff

������

/home/students

������

/lib

�������� ������� ������� | �������� ������� ������� | ����� ������ �����

/lib/modules

�������� ������� �������

/mnt

�������� ������� �������

/mnt/dosa

�������� ������� �������

/mnt/exta

�������� ������� �������

/proc

�������� ������� ������� | no title | ������� ������� /proc | ������� ������� /proc | ������� ������� /proc | ������� ������� /proc | ������� ������� /proc | ������� ������� /proc | ������� ������� /proc | ������� ������� /proc

/proc/1

������� ������� /proc

/proc/cpuinfo

������� ������� /proc

/proc/devices

������� ������� /proc

/proc/dma

������� ������� /proc

/proc/filesystems

������� ������� /proc

/proc/interrupts

������� ������� /proc

/proc/ioports

������� ������� /proc

/proc/kcore

������� ������� /proc | ����� �� �������x �������x | �� ����������

/proc/kmsg

������� ������� /proc

/proc/ksyms

������� ������� /proc

/proc/loadavg

������� ������� /proc | ������� ������� /proc | ������� ������� /proc | ������� ������� /proc | ������� ������� /proc

/proc/meminfo

������� ������� /proc | ������� ������� /proc | ������������ �������

/proc/modules

������� ������� /proc

/proc/net

������� ������� /proc

/proc/self

������� ������� /proc

/proc/stat

������� ������� /proc

/proc/uptime

������� ������� /proc

/proc/version

������� ������� /proc

/root

�������� ������� �������

/sbin

�������� ������� ������� | �������� ������� �������

/sbin/getty

��������� � �������� (login)

/sbin/init

init | ����� ������� �������� | init | init ��������� ������

/sbin/update

�������� ���

/tmp

��������� ��������� ������: cron at | �������� ������� ������� | �������� ������� ������� | ������� ������� /var | ���������� �� ������������� | ���������� �� ������������� | ����� ������ ����� | init ��������� ������ | ���������� ������������ � /etc/inittab

/usr

������ | ������ | �������� ������� ������� | no title | ������� ������� /usr | ������� ������� /usr | ������� ������� /usr | ������� ������� /usr | ������� ������� /usr | ������� ������� /usr | ������� ������� /usr | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ����� ������ ����� | ����� ������ ����� | ����� ������ ����� | ����� ������ ����� | ���� ������ ������ ����� | ���� ������ ������ ����� | �������� � ������������������ ����� | �������� � ������������������ �����

/usr/adm

������������ | ������������

/usr/adm/messages

������������

/usr/bin

������� ������� /usr

/usr/bin/X11

������� ������� /usr | ������� ������� /usr

/usr/doc

������� ������� /usr

/usr/include

������� ������� /usr

/usr/info

������� ������� /usr

/usr/lib

������� ������� /usr | ������� ������� /usr

/usr/lib/libc.a

������

/usr/lib/X11

������� ������� /usr | ������� ������� /usr

/usr/lib/zoneinfo

³���������� �� ��������� ����

/usr/local

������� ������� /usr | ������� ������� /usr | ������� ������� /var

/usr/local/bin

������� ������� /usr

/usr/local/games

����� ������ ����� | ����� ������ �����

/usr/man

������� ������� /usr

/usr/man/cat*

������� ������� /var

/usr/man/man*

������� ������� /var

/usr/sbin

������� ������� /usr

/usr/var

������ | ������

/usr/X11

������� ������� /usr | ������� ������� /usr | �� ���� ������ �������? | �� ���� ������ �������?

/usr/X11R6

������� ������� /usr | ������� ������� /usr | ������� ������� /usr | ������� ������� /usr | ������� ������� /usr | �� ���� ������ �������? | �� ���� ������ �������?

/usr/X386

������� ������� /usr | ������� ������� /usr | ������� ������� /usr | ������� ������� /usr | ������� ������� /usr

/var

������ | ������ | ������ | �������� ������� ������� | no title | ������� ������� /var | ������� ������� /var | ������� ������� /var | ������� ������� /var | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | �� ����������

/var/adm

������������ | ������������

/var/adm/messages

������

/var/catman

������� ������� /var

/var/lib

������� ������� /var

/var/local

������� ������� /var

/var/lock

������� ������� /var | ������� ������� /var

/var/log

������� ������� /var | ������� ������� /var | ������������ | ������������

/var/log/messages

������� ������� /var | ������������ | ������������

/var/log/wtmp

������� ������� /var | �� ������ login

/var/man

������� ������� /var | ������� ������� /var

/var/run

������� ������� /var

/var/run/utmp

������� ������� /var | �� ������ login

/var/spool

������� ������� /var | ������� ������� /var

/var/spool/mail

����� | ������� ������� /var | ������� ������� /var | ������� ������� /var | ������� ������� /var | ������� ������� /var | ������� ������� /var | ������� ������� /var | ������� ������� /var | ������� ������� /var

/var/tmp

��������� ��������� ������: cron at | �������� ������� ������� | �������� ������� ������� | ������� ������� /var | ������� ������� /var | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� �������������

/vmlinuz

�������� ������� �������

� ����� �� �����. � ������ �������� ����������. ������ �\\������ �� ��������� ���, ������� ��������� ���������\\�������������, �� �� � ������� ����� �� ��� ���.

������ ��������� �������� ������������ ������������\\��������� �� ������ ������. ��������� � ��� ������ ����,\\����� �� �������� ��� ��� ������ ����, �������... � � ���\\��� ���������� ���������� �����������. ��� ������\\�����������, �� ���������� �� ����� ���� ��������\\�������������, - ��� ���� ���, �� ������ ���� �����������?\\������ ������ ``��������� ����� ������ ����� �����������''\\������� ������� �����, ���� ����� ���� � ������ �������� ����\\������������ ������� ������� ���������� ������������� �\\���� ���������� ����� ������������.

��� ��� �������� ���� �������� � ��� ������... ���� ����\\����������� �� ���� ������ ������������ (� ��� �� ����\\`` ���� ������''), �� ������ ������ ���� ������\\������ ����-���� ���� �� ����� �����, �����: ``���������''\\�� ``��������'' �� ``������'' �� ``��������� � ��������''. ���\\����� ����������� ��� ��������: � �� ����� ������ ����������\\�� ��������� ������ ������ �� ����������� ����� ������������\\.profile '��? �� ���� �������� ��� ��� ���� ������\\/home/ENVIRON/ZAVHOSP/profile  � �������  /.profile \\���������� (softlink) �� ��� ����. ��� ������������ ��\\� ����� ��������� ����� �� ��������-��������-����������\\����� ����������� � .profile  ����� ����: [ -x\\${HOME}/.profile-custom ] && { . ${HOME}/.profile-custom} 

�� ���� ������, �� ������� ��������� /etc/skel  �������\\��������� ����, ���, (� ����� �������� ������) ����� ��� ������\\�� ����� �� �������� - �� ������ �� ��-������� ����'�����\\(������� �� �������, ���� ����� � ����'����� �� ������-����\\�������� ������������). ��� ������ ������ ������������ ����\\��������� ����������� ������������, ���� /etc/skel \\������ �����, ��� ����-��� ����� � � ���������� �������\\������� ���������.

������ ��������: /etc/skel

��� ����, ��� �������� ����� ���� ������ �'������� -\\������� ��� � �����. ������ ���������� ���� �������������\\����-��������� ������� ��� ����� ���'��.

ϳ� ��� �������� � ����������� � �������� ���������� ��\\�4030, � ����� ���� ���� �������� ������, �� �������� ����\\���'�� ���. ϳ� ��� ����� (� ����� ������, �� ���� �������\\���� ������, ��� ������) ������� �4030 ���������� �������\\�������� ���� �񳺿 �� ���'�� �� ���� - �����\\���� ���'�� �������� �� ���������� ���������� ������\\��������������� ����. ʳ������� � �������� ������ ��\\����������� ����� �� ��� ���� ������. \\\\��������� �� � ���� ������ � ������, � ������ ���������, ��\\��� ���'��� ��������� �� ����. ���� � ����� �������\\���������������, �� ����� ������� ��� ������� ������� (�����\\�������� �� �������, ��� � ����� ������ ���� �� ����� ���\\���� ��� �����). ���'��� ��������� �� ���� ����� ����� �\\�������� �� ���� �� ���� - ����� � ������������ ���� ��\\����, � ����� ������� ������ ������������� ������ ��\\������. ���� ������� ���� ����� ��� ���� ��������\\�����������, �� � ������� ������� ������ �� ���������� �����\\���'�� ������� �� ���� ������, ����� ���� ������� ���\\������ ������ ������ ������� ���'�� �� ����. ˳���� ��\\����������� ����� ������ ����� ���'��, ���� ������������\\���� ���� ����� ������ �� ������� ���'�� �� ����� ��\\����� ������.

�������� ���� ��������

��������� ���� � ������ ������ ���� ���������� ����\\����������. ���� ����� ���'����� ��� �� � ���� ������ ����\\������ ���������� � �� ����� ������, ��� �� ����\\``��������''.

���, ���������, ����� � ������� ���������������� ����\\�����, � ���� ������ ���������� ���� � ����� ��� �����\\dbm. ��� ����� ���������������� � ����� ����� ���\\NIS [*] ��� � ����� ����� ������������, ��\\���������������� � sendmail  ����� 8.x.

����� ��, ������ �����������, �� ���� ������ ��� ����� ���\\����� ���� ���� ������, ��� ����� ��������� ������, ����\\������ ��� �����. ���� � ����� ������ ����� ������� NIS,\\�� ���� ��������� ��������� �� ��������� - ���� ��������\\������ (master) � �� ���� �������-������ (slave). ���\\����������� �������� ���� ����� �� �������� ��������\\��������������� ������� xfer , ��� �������� ������\\��������� ����� ��� ����� � ��������� ������� �� ������.\\�� � ���� ���� � ������� ������ ������� rcp , � ����\\����� �� ����� ����, �� �� ���� ������ ���������. ���\\������� rcp  ``�� ����쳺'' ���� � � ������� ����� �\\������ ������������ ������� rcp  ��������� �� ����, ��\\���� ����������� ������ ��贳���� � �������� �����\\��������� ������� ���� ������������� � ��� ���, �� ��\\��������� ������ �� ���� ����� ������� ����.

�� ���� ������ �������?

³� ���� ���� ������, �� �� ����� ������ �������� �\\��������. ���� ������� �� ����������� ������� (���� ��� ��\\������� ������� �������� � �������������), �� ���� �� ����,\\�� ������� �� ������ �����, ��������� �� �������\\��������, �� �������������. � ����� ���� �� � ������� ������\\��������� ������������ �����������: ``������, �� �� ������ ��\\�������� ��������� ������ ��������� ����� � ����� ��������\\����������'', ��� ``������: $(cd /home; du -s *

sort -nr  head -10  awk ' { print $2}')  xargs rm -rf'' \\ \\(���� �� ��������, �� �� ������, �� ����� ��������\\��������� ������� � ���������� �����, ��� ����������, ��\\���� ������. ��������� �������� ����������.) ��� ��� ������\\����� ������� ���������� � �������� �����, � �� ������� ��\\���� �������� ����� ����������� ������ ��������� � �������\\������� ���������� �� 99-100%, �� ������� ��������\\����������, ������������� ��� �������� ��\\/usr/local/games .

� �������� ������ �������� PC ����� ������� �����������\\�볺���� - ����� ����'������, � ����� ���� �� ������� ��\\�������� �����, � ���� ����� ������� � ������� �\\�����. �������� �������� ��� �������������� ���� �� ������\\������������ �� ��� ���������� ����� � ������ ��\\�������������. ��� ������� ������� Sun Sparc �� ����� ������\\�������� ������ - ����� Sparc - �� ������� �����������\\�볺��, ���� ���� ��������� �����, ����� �����\\������������. ��� ���� - ��� ����� Macintosh'��, ��\\���������� � ��������� �������� � ����� (� ��� ����, ��\\����, ��� ���� ����� ˳�����).

����� ������� ��������

������� ��� �� ���������� � ����������� ���\\\\``�����������'' ����� ����������. ��� �����, ��\\\\�������� �� ������������ �������, � ������� �������\\\\�������, �� ������ � ���� �� ������ �� ���������,\\\\����������� � ��� ���� ������� ����, � ����: �� ���\\\\�������� ����� /proc/loadavg  (�� �� ���\\\\��������� ������� uptime  � ��������, �� ��\\\\����� /proc/loadavg , ��, ���������, SunOS,\\\\Solaris �� ˳���� � ����� �� 1.3.59), �'��� ������\\\\���� �� �'��������� ������ ����. � ������ � �����\\\\������������, �������� ����� ������ �����,\\\\������������ ��� �� ������ ��� ��� ������ �������\\\\������������� ������ �� �������� - ������, ���'�� ��\\\\������� �� ��� ����� ������� ���� �����. ���� �\\\\������������ ���� ������� ������ ���� �� �����, ���\\\\0,1-0,2. ��������� ������������ ������ ������ 2-3\\\\�������, ���� ������ �������� �� �� �� ����� �������\\\\��� �����������. ���� � loadavg  �����\\\\������������� ��� 10-20, �� �� � ������� ����, ��\\\\���� �������� �� ����� �������� - � ����� �������\\\\������������ �� ������ ������� ������.

������� ������� /proc

� ������ �������� ���� �������� ���������\\\\/var/spool/mail  �� NFS ��������� � ���������\\\\�������. ���������, ���������� ����������� � �������\\\\������������ ������� ������� ������� � ����� ��������\\\\������������� ����� (�������� ������ (mail\\\\hub)). ���� ����� ������������� � ��������� ���������\\\\������������ �� ������� ��������, ����� ������\\\\������� ���� ���� ����� ������ ������ ���, ��\\\\�������� �� ����� �������. ����, ��������� ���������\\\\���� ����� ��� ������� �� ����� ����'����. ��������,\\\\����� ������������� POP-������, ��� �� ���� ��� ����\\\\������� � ��� ���� ���� �� ��� ��������. ��� ����\\\\�� ��������� ���� ������� ���� ������� �����������\\\\� �������� ����� ���� /etc/aliases  ��� ���� �����\\\\������������, � ����� ����������� ������ (������\\\\������) ������������ ������� - ��, �� ��� �������\\\\�������, ��� �� ����� ���������� ���� �� ������ ����\\\\�����. ����� �� ���� �������� �����������\\\\����������� �������. ��������� ������������ ����-�����\\\\��������� /var/spool/mail  �� ��������� ���� �\\\\��������� �� �� ������ ������� �������, �� ��������\\\\��������� ��� �����. ����� ������ ���� ���� ���� �� ������\\\\�������� ���������� � /var/spool/mail  � �����\\\\���������� ����� ������ ���� ����� �� ����-�����\\\\�������� ����.

������� ������� /var

� ����������� ������� ����� ������ �������� � ������ ������ �\\������� 0 - swapper. ��� ������ ������ (�������) ���� ������\\������ - ������ init, ���� (�� �� �� �����) ������ �����\\1. �� ���� ������� ��� ��� ���� ������ ������������� �\\������� ���� ������ ��������, ��������� ���� ������, ���\\������� 0 � 1 ������ ���� ���� ������� � �������� ����� �\\���. init - ����������� ������ ��� ����� ������� �������.

����� ������� ��������

/etc/default/login  � Solaris.

��������� ��������

telnetd  �� rlogind \\��������

��������� � ������ ���

[ -x\\${HOME}/.profile-custom ] && { . ${HOME}/.profile-custom}

������ ��������: /etc/skel | ������ ��������: /etc/skel

 /.profile

������ ��������: /etc/skel | ������ ��������: /etc/skel

adduser

��������� �����������

afio

������������ � ��������

amd

������ | ������

at

no title | ��������� ��������� ������: cron at | ��������� ��������� ������: cron at | ���������� ����������� � ������

Athena

��������� ���������

autofs

������ | ������

backup

�����

backup\\history

����������� ��ﳿ

badblocks

������������ | ������������ | ������������ | ��������� ������� ������� | ��������� ������� ������� | ��������� ������� ������� | ��������� ������� ������� | ��������� ������� ������� | no title | �������� ��������� ����� �� badblocks | �������� ��������� ����� �� badblocks | �������� ��������� ����� �� badblocks

bdflush

���� �������� ��� ��� | �������� ��� | �������� ��� | �������� ���

BIOS

����� ������� ��������

boot record

partition

see partition boot record

boot sector

����� ������� ��������

booting

����� ������� ������ ��

booting,\\�������� �������� ����� ������ ������ ���� ���� ``��������\\����''. �������� ��������� � ����� ������ ��������� ���� ��\\�����.

����� ������� ������ ��

bootstrap loader

����� ������� ������ �� | ����� ������� ������ ��

BSD

������ ������� ����

catman

������

cfdisk

��������� ��������� ����� ��

character devices

��� ���� ��������

chfn

���� ������������ ������� ������������

chmod

��������� ����� ������������ ������ | ���� ������������ ������� ������������

chown

��������� ����� ������������ ������

chsh

��������� /etc | ���� ������������ ������� ������������

clock

³���������� �� ��������� ���� | ³���������� �� ��������� ���� | ���� �������� �����

compress

������� ��������� �������� | ������� ��������� ��������

cpio

���� ������ ��� ��������� | ���� ������ ��� ��������� | ���� ������ ��� ��������� | ���� ������ ��� ��������� | ���� ������ ��� ��������� | ���� ������ ��� ��������� | ����������� ��ﳿ | ������������ � ��������

crack

��������� �������� | ��������� ��������

cron

no title | ��������� ��������� ������: cron at | ��������� ��������� ������: cron at | ��������� ��������� ������: cron at | ��������� ��������� ������: cron at | ���������� ����������� � ������ | ³���������� �� ��������� ���� | ³���������� �� ��������� ���� | ³���������� �� ��������� ���� | ³���������� �� ��������� ���� | ³���������� �� ��������� ���� | ³���������� �� ��������� ���� | ³���������� �� ��������� ���� | ³���������� �� ��������� ���� | ³���������� �� ��������� ���� | ³���������� �� ��������� ���� | ³���������� �� ��������� ���� | ³���������� �� ��������� ���� | ³���������� �� ��������� ���� | ³���������� �� ��������� ���� | ³���������� �� ��������� ����

crontab

��������� ��������� ������: cron at | ³���������� �� ��������� ���� | ³���������� �� ��������� ����

crying

�������� �� ��������� �������

ctrl-alt-del

����������

curs_termcap

��������� /etc

data\\block

�� ���� ������ �������?

date

³���������� �� ��������� ���� | ³���������� �� ��������� ���� | ³���������� �� ��������� ���� | ³���������� �� ��������� ���� | ³���������� �� ��������� ���� | ³���������� �� ��������� ���� | ���� �������� �����

dd

����� ��� �������� ������ | ����� ��� �������� ������

debugfs

�������� �������� �������� ������ fsck | ���� ������ ��� ������� | ���� ������ ��� �������

default run level

�� ������

deluser

���������� ����������� � ������

df

��������� /etc | ���� �������� ��� ���

directory block

�� ���� ������ �������?

DMA - direct memory access

������� ������� /proc

DouBle

������� ��������� ��������

du

���� �������� ��� ���

dump

���������� �� ������������� | ���� ������ ��� ������� | ���� ������ ��� ��������� | ���� ������ ��� ��������� | ���� ������ ��� ��������� | ���� ������ ��� ��������� | ����������� ��ﳿ | ����������� ��ﳿ

dumpe2fs

���� ������ ��� ������� | ���� ������ ��� ������� | ���� ������ ��� �������

e-mail

���.���������� �����

e2fsck

�������� �������� �������� ������ fsck | �������� �������� �������� ������ fsck | �������� �������� �������� ������ fsck | �������� �������� �������� ������ fsck | �������� �������� �������� ������ fsck | �������� ��������� ����� �� badblocks | ���� ������ ��� ������� | ���� ������ ��� ������� | ���� ������ ��� �������

ecxec

��������� � ������ �����

elm

�����

extended partition

��������� �� ������ ������

fdformat

������������ | ������������ | ������������ | ������������

fdisk

�������� ����������� �����, ���������� | ���� ������ ����� | ���� ������ ����� | ���� ������ ����� | ��������� ��������� ����� �� | ��������� ��������� ����� �� | ��������� ��������� ����� �� | ��������� ��������� ����� ��

fdisk -l

�������� ����������� �����, ����������

file

��������� /etc | ��������� /etc | ��������� /etc

file access time

���������� �� �������������

find

���������� ����������� � ������ | ��������� ������ ���� � tar

fips

��������� ��������� ����� ��

floppy-image

����� ��� �������� ������

flushes

�������� ���

fork

��������� � ������ �����

format

��������� ��������� ����� �� | ��������� ��������� ����� �� | ��������� ��������� ����� �� | ��������� ��������� ����� ��

free

������� ������� /proc | ������������ ������� | ������������ ������� | ������������ ������� | ������������ ������� | �������� ���� ��������

fsck

������������ | ������������ | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | no title | �������� �������� �������� ������ fsck | �������� �������� �������� ������ fsck | �������� �������� �������� ������ fsck | �������� �������� �������� ������ fsck | �������� �������� �������� ������ fsck | �������� �������� �������� ������ fsck | �������� �������� �������� ������ fsck | �������� �������� �������� ������ fsck | �������� �������� �������� ������ fsck | �������� ��������� ����� �� badblocks | ���� ������ ��� ������� | ����� ������� �������� | �������� � ������������������ ����� | �������� � ������������������ ����� | �������� � ������������������ ����� | �������� � ������������������ ����� | �������� � ������������������ �����

FSSTND

�������� ������� �������

fstab

���������� �� �������������

ftpd

��������� /etc

full backup

������ ������������

GCC

�� ������� ������� ����������

getty

init | ��������� � �������� (login) | ��������� � �������� (login) | ��������� � �������� (login) | ��������� � �������� (login) | ��������� � ������ ��� | ��������� � ������ ��� | ��������� � ������ ��� | ��������� /etc | ����� ������� �������� | ����� ������� �������� | init | init ��������� ������ | init ��������� ������ | no title | ��������� init ��� ������ getty: /etc/inittab | ��������� init ��� ������ getty: /etc/inittab | ��������� init ��� ������ getty: /etc/inittab | ��������� init ��� ������ getty: /etc/inittab | ��������� init ��� ������ getty: /etc/inittab | ��������� init ��� ������ getty: /etc/inittab | ��������� init ��� ������ getty: /etc/inittab | ��������� init ��� ������ getty: /etc/inittab | ��������� � ������ ����� | ��������� � ������ ����� | ��������� � ������ ����� | ��������� � ������ ����� | ��������� � ������ ����� | ��������� � ������ ����� | ��������� � ������ ����� | ��������� � ������ ����� | ��������� � ������ ����� | ��������� � ������ ����� | ��������� � ������ ����� | ��������� � ������ �����

Graham Chapman

������� ���������� �������

group

��������� /etc

GTK

��������� ��������� | ��������� ���������

GTK+

��������� ��������� | ��������� ���������

gzexe

������� ��������� ��������

gzip

��������� ��������� ����� �� | ��������� ��������� ����� �� | ������� ��������� �������� | ������������ � ��������

halt

����� ����� ��� ��������� | ����� ����� ��� ��������� | ����� ����� ��� ��������� | ����� ����� ��� ��������� | ����� ����� ��� ��������� | ����� ����� ��� ���������

high-level formatting

������������

home

�������� ������� ������� | ������ | ������ | ������

I/O - input/output

������� ������� /proc

incremental\\backups

������ ������������

inetd

��������� � ������ �����

Info

������� ������� /usr

init

no title | init | init | init | init | init | init | init | init | init | init | ��������� � �������� (login) | ��������� � �������� (login) | ��������� /etc | ��������� /etc | ����� ������� ������ �� | ����� ������� ������ �� | ����� ������� �������� | ����� ������� �������� | ����� ������� �������� | ����� ������� �������� | ����� ������� �������� | ����� ����� ��� ��������� | no title | init | init | init | init | init | ���./sbin/init | no title | init ��������� ������ | init ��������� ������ | init ��������� ������ | init ��������� ������ | init ��������� ������ | init ��������� ������ | init ��������� ������ | init ��������� ������ | init ��������� ������ | init ��������� ������ | init ��������� ������ | init ��������� ������ | init ��������� ������ | init ��������� ������ | init ��������� ������ | init ��������� ������ | init ��������� ������ | init ��������� ������ | init ��������� ������ | init ��������� ������ | init ��������� ������ | init ��������� ������ | init ��������� ������ | no title | ��������� init ��� ������ getty: /etc/inittab | ��������� init ��� ������ getty: /etc/inittab | ��������� init ��� ������ getty: /etc/inittab | ��������� init ��� ������ getty: /etc/inittab | ��������� init ��� ������ getty: /etc/inittab | �� ������ | �� ������ | �� ������ | �� ������ | �� ������ | ���������� ������������ � /etc/inittab | ���������� ������������ � /etc/inittab | ���������� ������������ � /etc/inittab | ���������� ������������ � /etc/inittab | �������� � ������������������ ����� | �������� � ������������������ ����� | �������� � ������������������ ����� | ��������� � ������ ����� | ��������� � ������ ����� | ��������� � ������ ����� | ��������� � ������ ����� | ��������� � ������ ����� | ��������� � ������ ����� | ��������� � ������ �����

������������������ �����

������������������ �����

�� ctrl-alt-del

����������

initd

��������� � ������ �����

inittab

��������� init ��� ������ getty: /etc/inittab | ��������� init ��� ������ getty: /etc/inittab | ��������� init ��� ������ getty: /etc/inittab | ���������� ������������ � /etc/inittab

interruprts

������� ������� /proc

JX

��������� ��������� | ��������� ���������

KDE

��������� ��������� | ��������� ���������

Kernel Hackers' Guide

���������� �� �������������

kill -HUP 1

��������� init ��� ������ getty: /etc/inittab

last

�� ������ login

library

������� ������� /usr

LILO

����� ������� �������� | ����� ������� ��������

ln -s /usr/X11R6 /usr/X11

�� ���� ������ �������? | �� ���� ������ �������?

loadavg

������� ������� /proc | ������� ������� /proc

lock

������� ������� /var

log files

������ | ������� ������� /var | ��������� � ������ ��

logical partition

��������� �� ������ ������

login

��������� � �������� (login) | ��������� � �������� (login) | ��������� � �������� (login) | ��������� /etc | ������� ������� /var | ��������� � ������ ����� | ��������� � ������ ����� | ��������� � ������ ����� | ��������� � ������ ����� | ��������� � ������ ����� | ��������� � ������ ����� | no title | �� ������ login | �� ������ login | �� ������ login | �� ������ login | �� ������ login

low-level formatting

������������

lpr

��� ���� ��������

ls

��� ���� �������� | ��� ���� �������� | �������� ���

ls -l

��� ���� �������� | �� ���� ������ �������? | �� ���� ������ �������?

lseek

�� ���� ������ �������?

Macintosh

��������� ��������� | ��������� ���������

magic

��������� /etc

main boot record - �������� ����������� �����

������ �����

main boot\\record

����� ������� ��������

man pages

������� ������� /usr

MBR

����� ������� ��������

message of the day

�� ������ login

message of\\the day

��������� /etc

Miquel van\\Smoorenburg

init ��������� ������

mkdir

��������� ����� ������������ ������

mke2fs

���� ������ ��� �������

mkfs

������������ | ������������ | ������������ | ������������ | ��������� ������� ������� | ��������� ������� ������� | ��������� ������� ������� | ��������� ������� �������

mkfs)

�����

mkswap

������������ ����� �� ����� | ������������ ����� �� ����� | ��������� �������� ��� ������� | ��������� �������� ��� ������� | ��������� �������� ��� ������� | ��������� �������� ��� �������

mnt

�������� ������� �������

Motif

��������� ���������

mount

��������� /etc | ��������� /etc | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | �������� �������� �������� ������ fsck | �������� �������� �������� ������ fsck

mount -a

���������� �� �������������

mount ����_���� �����_����������

���������� �� ������������� | ���������� �� �������������

mtools

���������� �� �������������

multi user mode

init

netdate

���� �������� ����� | ���� �������� �����

nethack

���������� ������������ � /etc/inittab | �������� � ������������������ �����

Network File System

���.NFS

networked file system- NFS

����� �� �������x �������x

newfs

������������ | ������������

NFS

������� ������� ����� (Network

Open Look

��������� ���������

page fault

������� ������� /proc

paging

�� ���� ��������� ���'���?

partitions

������

passwd

��������� /etc | ��������� �������� | /etc/passwd �� ���� ������� | ��������� ����� ������������ ������ | ���� ������������ ������� ������������

password file

/etc/passwd �� ���� �������

pine

�����

primary partition

��������� �� ������ ������

print spool, print queue

����

proc

������� ������� /proc | ������� ������� /proc | ������� ������� /proc | ������� ������� /proc | ����� �� �������x �������x | �� ����������

ps

�������� ���� ��������

Qt

��������� ��������� | ��������� ��������� | ��������� ��������� | ��������� ���������

ramdisk

������� ���������� �������

random access

��� ���� ��������

rcp

�� ���� ������ �������? | �� ���� ������ �������? | �� ���� ������ �������? | �� ���� ������ �������? | �� ���� ������ �������? | �� ���� ������ �������?

rdate

���� �������� �����

rdev

���������� �� ������������� | ����� ������� �������� | ����� ������� ��������

re-mount

���������� �� �������������

read ahead

������ �����

readonly

���������� �� �������������

restore

���� ������ ��� �������

rlogin

��������� � ������ ��� | ��������� � ������ ���

rlogind

��������� � ������ ��� | ��������� � ������ ���

rloign

��������� � ������ �����

Rock Ridge extension

������� CD-ROM

root

init | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� ������������� | ���������� �� �������������

root\\filesystem

���������� �� �������������

run levels

init

runlevel 5 � ������� ������

init

seek time

������� CD-ROM

sendmail

����� | �� ���� ������ �������? | �� ���� ������ �������? | ����������� ������� (���������� ������)

setfdprm

��������� /etc | ��������� /etc | ����� ����� | ����� ����� | ������������

shadow passwords

��������� ��������

shell

�������� ���� ��������

shutdown

����� ����� ��� ��������� | ����� ����� ��� ��������� | ���������� | ������������������ ����� | �� ������ login

������������

����� ����� ��� ���������

shutdown,���������

����� ����� ��� ���������

shutdown -h

����� ����� ��� ��������� | ����� ����� ��� ���������

signature

��������� �������� ��� �������

sign�ture

������������ ����� �� ����� | ������������ ����� �� �����

single user mode

init

smail

�����

Solaris �� ����� ������� �������\\proc . ��� ���� � � ���� ��� - ���� ������ �����\\���������� ��� �������.

������� ������� /proc

spooling

����

starting a computer

����� ������� ������ ��

su

��������� �������� | ��������� �������� ������������ ��������

sudo

���������� �� �������������

superblock

�� ���� ������ �������?

swap

������������ ������� | ������������ �������

swap -l

������������ ������� | ������������ �������

swapoff

������������ ������� | ������������ ������� | ������������ ������� | ������������ ������� | ������������ �������

swapon

������������ ������� | ������������ ������� | ������������ ������� | ������������ ������� | ������������ ������� | ������������ �������

swapping

�� ���� ��������� ���'���?

sync

���� �������� ��� ��� | �������� ��� | �������� ��� | �������� ��� | �������� ��� | �������� ��� | ����� ����� ��� ��������� | ����� ����� ��� ���������

sys

��������� ��������� ����� �� | ��������� ��������� ����� �� | ��������� ��������� ����� �� | ��������� ��������� ����� ��

syslog

Syslog | ������� ������� /var | ������� ������� /proc | ������������ | �� ������ login

system calls

�� ������� ������� ����������

sysvinit

init ��������� ������ | init ��������� ������

tail

��������� �������� ������������ ��������

tail - ����

��������� �������� ������������ ��������

tar

����� ��� �������� ������ | ����� ��� �������� ������ | ���� ������ ��� ��������� | ���� ������ ��� ��������� | ���� ������ ��� ��������� | ���� ������ ��� ��������� | ���� ������ ��� ��������� | ���� ������ ��� ��������� | ���� ������ ��� ��������� | ���� ������ ��� ��������� | no title | ��������� ������ ���� � tar | ��������� ������ ���� � tar | ��������� ������ ���� � tar | ��������� ������ ���� � tar | ��������� ������ ���� � tar | ��������� ������ ���� � tar | ��������� ������ ���� � tar | ��������� ������ ���� � tar | no title | ³��������� ����� �� ��������� tar | ³��������� ����� �� ��������� tar | ³��������� ����� �� ��������� tar | ³��������� ����� �� ��������� tar | ³��������� ����� �� ��������� tar | ����������� ��ﳿ | ������������ � �������� | ������������ � ��������

telinit

�� ������ | �������� � ������������������ �����

telnet

�� ������� ������� ���������� | ��������� � ������ ��� | ��������� � ������ ��� | ��������� � ������ �����

telnetd

��������� � ������ ��� | ��������� � ������ ���

termcap

��������� /etc

terminfo

��������� /etc

The buffer cache

�������� ���

Theodore T'so

�������� �������� �������� ������ fsck

time

³���������� �� ��������� ����

time stamps

����� �� �������x �������x

top

������������ �������

total

������������ �������

trusted

��������� /etc

tune2fs

���� ������ ��� ������� | ���� ������ ��� �������

tzset

³���������� �� ��������� ����

umask

���������� �� �������������

umount

���������� �� ������������� | ���������� �� ������������� | ���������� �� �������������

uncompress

������� ��������� �������� | ������� ��������� ��������

unmount

���������� �� �������������

update

���� �������� ��� ��� | ���� �������� ��� ��� | ���� �������� ��� ��� | �������� ��� | �������� ��� | ����� ����� ��� ��������� | ����� ����� ��� ��������� | ����������� ������� (���������� ������)

uptime

������� ������� /proc | ������� ������� /proc

used

������������ �������

user accounts

��������� �� ��������� ��������

user id

��������� �����������

user level program

init ��������� ������

user mode

�� ������� ������� ����������

useradd

��������� �����������

userdel

���������� ����������� � ������

username

��������� �����������

usr

�������� ������� ������� | ������ | ������ | ������ | ������ | ������ | ������

utmp

�� ������ login | �� ������ login | �� ������ login

var

�������� ������� ������� | ������ | ������ | ������ | ������� ������� /var

vigr

��������� ����� ������������ ������ | ���� ������������ ������� ������������

vipw

��������� ����� ������������ ������ | ��������� ����� ������������ ������ | ���� ������������ ������� ������������

w

�� ������ login

who

�� ������ login

Windows

��������� ��������� | ��������� ���������

Windows 95

see crying

write-through

�������� ���

wtmp

�� ������ login | �� ������ login

X11R5

������� ������� /usr | ������� ������� /usr

xfer

�� ���� ������ �������? | �� ���� ������ �������?

xterm

����� ����� ��� ���������

zcat

������� ��������� �������� | ������� ��������� ��������

zip

������� ��������� ��������

����

�� ������� ������� ����������

� ���� ������ ��� ���������� ������� �������,\\������� � /etc/fstab . ���� ������� ��� ����� - �������\\mount  ������� ���� ����� ���� �������� - ���\\��'� ������������ ����� ��������, ��� ����� ����������\\������� �������. ҳ���� ��� ��� ���� mount  ������� �\\/etc/fstab  ��� ����, ��� ������ ��� ���� ���������\\���������. ���� ��� ���������� �� ������������ �����������\\������ ������� mount ����_���� �����_���������� , ��\\������� �� ���� ��������� �� /etc/fstab , � ��������������\\���������� ������� ������� �������������, �, ������� �� - ��\\root, ������� �������: \\

$ mount : only root can do that
$ \\

���������� �� �������������

�������� �������

����� ������� ��������

������� �������

������������

������� ���������� �������

������������

������� ���������� �������

������������ ���� ��� ��������� ��������

����� ������� ��������

�������������������� �����

init

����������������

������ ������� ����

����� ����

������ ������� ����

�������� ���

����� ����� ��� ��������� | ����� ����� ��� ���������

������������ ����������

������

������

at

���.at

cron

���. cron

init

���./sbin/init

rlogin

���.rlogin

telnet

���.telnet

�����

����� ������� ��������

�������

�������� �, floppy

booting from

�����������

�������� ���

����� ����� ��� ���������

�������� ���, buffer cache

����� ������� ������ ��

������������

�� ������� ������� ����������

������� ���������

������ ������� ����

������� ������� �������

������ ������� ����

���������� �����

�����

������ �������

��������

����� ������� ��������

������� ������� �����

network file systems

������� ������� ����� (Network

����� �������

�� ���������

����� ����� ��� ���������

�������� ����������� ������, master boot record

����� ������� ��������

��������� ���������

��������� ���������

���

����� ����� ��� ���������

��������� ѳ

�� ������� ������� ����������

������������ �������� ��������

����� ������� ��������

������������ ����������

����� ������� ��������

������������ ����

����� ������� ��������

�������

����� ������� ��������

�������� ������� �������

����� ������� ��������

�������� ������� ������� ����� �� �������

����� ������� ��������

���, ���� �� ����-��������, ���� � ��������\\������� �� ������ �� ���������� ������������� ���������\\������ ��. ����� ���� ������������� ����-��������� ����� �\\���� ����, �� ��������� ����� �����. � ˳���� ��������\\����� �������� ������� mkswap , ��� �������� ``�������\\�������''. �������� ˳���� ������ � ��������� ����-������\\����� ����������� �����40, � �����������\\���-���� ``�����'' ���������.

������������ ����� �� �����

����

����� ����� ��� ���������

���� �������

����� ����� ��� ���������

����

���.���������� �����

��-����� (����� ����������)

Syslog

�������� �����

������ ������� ����

�������� ���'��

������ ������� ����

�������� �������

������ ������� ����

�� ������ �������������� ���� ���������� �\\������ �������� (�� ������ �� ���� ����, ���� ���-������ ��\\��������� �����

����� ������� ��������

����������

�������� ������� �������

����� ������� ��������

���������� �������� ������

init

���� �������������

�� ������� ������� ����������

������ ���������

������������, ��������

������� �������

������ ������� ����

������������������ �����

init | ������������������ �����

���������� �������

�� ������� ������� ����������

������

����� ������� ��������

������ ����

����� ������� ��������

��������� ��������� ������

���. cron �� at

����������

����������

�������� ������� �������

����� ������� ��������

�������� ������

��������� � �������� (login)

������������

Syslog

���������� �������

����� ������� ��������

���������� ������� ��� �����

����� ������� ��������

����������� ��� �������

Syslog

����������� ��� ���������

����� ����� ��� ���������

�����, ����������

���.���������� �����

������� ������

�����

���������� ���������

����� ������� ������ ��

��������� ��������

�� ������� ������� ����������

����� ���������

������� ���������� �������

������ ��������

init

����

�� ������� ������� ����������

��������� � ������

��������� � �������� (login)

����� �����������

�� ������� ������� ����������

������� ��ﳿ

������� ���������� �������

������� �����

init

�������, �����

������ ������� ����

���������� ������������� �������

������

�������� ��������

�� ������� ������� ����������

��������� ������

�� ������� ������� ����������

������ ������������ ���������

����

������� ����� �������

������

�������� ���������� �����

��������� ��������� ������: cron at

��������� ����

����� ������� ��������

������� ��������

����� ������� ��������

��������� �����

����� ������� ��������

�������

����� ������� ��������

�������� ���������

������������, ��������

�������� �����

��������� ��������� ������: cron at

����� ������ �� ����\\/var/log/messages . ��������� ������ ����������\\������������ ��������� /var/adm  ��� ��� �����\\��������� ����������, �� ˳���� ����� �� �������� � ���\\��������� /var/log , ��� ���� � ���� � ���� ��� ��������,\\��� � ��贳��� ����� ���� ������� ���� �� �����. ���������, �\\���� RedHat 5.0, �� ����� �� ��������, ���� ��������\\(/usr/adm ) ����, ��� ������ �������� � �������\\���������.

������������

����������� �����

������� ���������� �������

�������� ����

��������

���. ��������

���� �����

����� ������� ��������

���� ������

����� ������� ��������

�������������� �������� ������

init

��������� ������

����� ������� ��������

��������� ������� �������

������ ������� ����

���������� ����

������� ���������� �������

�������� �������

init

������ ������� ������

�����

����� � �������

��������� � �������� (login)

���������

����� ����� ��� ���������

������������

����� ����� ��� ���������

�������� sync

����� ����� ��� ���������

��������

����� ����� ��� ���������

��������� ����'�����

����� ������� ������ ��

������ �����, data loss

����� ������� ������ ��

�������������

����

� ������� 0, �� � ���, �� ��������� ����'�����,\\���������� � 0, � �� � 1

�������� ����������� �����, ����������

��������

����� ������� ������ ��

�����������

����� ������� ��������

� ������� �������

������� ���������� �������

� ��������� �����

����� ������� ��������

�������� � �������, booting

from floppy

����� ������� ��������

����������� ������ ������, partition boot record

����� ������� ��������

����������� ������, boot sector

����� ������� ������ ��

����������� �����, boot record

master

see MBR

��������� ˳�����

����� ������� ��������

������� ���������

init

��'����

�����

����� ��������

����

�� ��� Macinosh'�

������� ��������� ��������

������ �� � ˳����� �������\\�� � ������ ������� �����������

�� ������ login

�� ���������� ����� �� ˳�����\\i86, ����� ��� IBM-������� PC, � �� ��������� �����\\˳�����, ����� �� Sparc, Alfa, PowerPC, ����, �� �� ���������\\�� ����� ������� � ��� PC ��� �� 640 ����� ���'��.

����� ������� ��������

��� ����� ������ � �� �����. ��� ����\\����� ��� ��, �� �������� ������� ������� ������ ����� ����\\�������� - ����� �� ��� ���������� ������ ���������\\���������� ��� �������� �������. ̳� ��������� �����\\�������, �� ����� ������������ ������� ���� ��������\\������� ������� - �� �������� 50����� (� � ������� �������\\��������� 15-20�����). �����, ����� ����� ��������� ����� �\\�� ����-����� ��������� ����� (�� ����������� ���������),\\�������� ��� ����� ������ ��������� ��� ����, ��� ����\\������, �� �� �������� ������ � �������� �����. �� ������ ��\\������ ���� �������� �� ���� ������, ������� ��� �����\\����� ����� �����, ��� 1024 �������. �������� �����\\����������, ���� ��� ����� ������� �� � Windows � �����\\�����, ��� �� ��� ���� �������.

��������� ��������� ����� ��

�� ����� ����� ������ ���� �������� ������� ��\\\\������� � ��贳���.\\\\

vfat

������� ������� ������������� � Windows 95 -���������� ������� ������� DOS, ��� ��������\\\\������������� ������� ������� �����.

hfs

``���������� ������� �������'' (hierarchical\\\\file system), ��� ������������� � ����������� ������\\\\MacOS �� ���������. �� ������� ���� ���� ��� ���\\\\������������ - ��� ������� ������ ��������� ��\\\\��������, �� (� �������� � ���������� ���������\\\\���� ������������� ����� AppleTalk) ���\\\\�������� ���� ������� ��� ����� Mac'�� (˳����\\\\��������, ���������, ���������� ��������������\\\\�������-���� �� ������������ ���� ��� �񳺿 �����\\\\Mac'��).

ufs

������� �������, �� ������������� � SunOS ��\\\\Solaris. � �������� SunOS - �� ������� �������\\\\���� ``4.2'', � � Solaris'� ���� � ������ �����\\\\``ufs''. ���� ������� ������� ������� �������� ���\\\\Sparc Linux'�, �������� �������� ������\\\\������������� ��������� ��������� SunOS/Solaris �\\\\Sparc ˳�����.\\

����� �� �������x �������x

�������� ����������� �����:MBR - Main Boot\\Record, ���������� �������: boot sectors, �������\\������: partition table

�������� ����������� �����, ����������

���� ��\\� ������� � �����, �� ������� �� ������� �����,\\��������������� ���� �����. ������� ���� ���� �����\\��������, ������� ��� ����� ������. ���������, ���� ������\\����������� ������������ ���������������� � ������ ����� �\\����� �������� - ���� � �������� �������� FAT ��� MS-DOS ��\\���� �������� ³������, � ������ � �������� �������� HFS ���\\���������. ���� ��� ���� ������������ � Windows, �� ��,\\��������-�, �� ������ ������� ������� ��� ���� (HFS) �\\�������. � ����� � ˳���� ����� ���������� ����� � ���.

������

������� mount \\� ˳���� �� ������ ��������. ���� �� ������ ������� �������\\�������, ��� �� ���� ���������, ������� ������� ������������\\��� �� � �����, �� ������������� ������������ e2fsck \\��� ��������.

�������� �������� �������� ������ fsck

˳���� � ��������� ������������ ��������\\������� ������� � �������� ��������, ��� ��� �������, ��\\SunOS �� Solaris. � ��������� ���������� ������ SunOS �����\\�� ���������� ����, ����� ���� �������� ��������� ����\\����. ����� ������ �� ���� �� ������� ������� ����� - ��\\������������ ����� � ����. ���� ���� �� ���� ������ ����� ��\\������� �����, ������ ������ ��������� � ������� ���� ������\\��� �������������� ����� (�� � ��������� � ����-������ ��\\�����, ���� ������ �� ���� ������ ������� - ���\\������������� � ����. �� ����� �� ˳�����, SunOS �� ����\\��������� ��� ����-�������� � �� ��������� ��������� ������,\\������ �� ������������). ����� � ���������, ��������� ���\\�����, ������� ����������� ���-���� � �����-����� �������\\����, ��� ���� ������������� ��� �� �����. � Solaris'� �����\\������� ����� �������� �������, �������� ����� � ����\\/etc/system, ��� ������� �������������� ����� ��\\��� ������ ������� ������� �����, ���� �� ���� ��������������\\���� /etc/system.

���������� �� �������������

����, �� ���������\\\\��������� � ˳������ ��� ���� ����, �� ��� �������\\\\������������� ������� ��� ������ �� ������ ����\\\\������ � X11R5 , ��� ��� ����������� ����� �����\\\\���-���� ���� ��������� ������ /usr/X386 , ��� �����\\\\�� /usr/X11R6 (��� ���� ����� ���� /usr/X11 ,\\\\�� ����� �� �� � ���������. ��� �� ���� �� ��, ��\\\\���� �������� ������ ���� ������ � /usr/X386 .

������� ������� /usr

������� � ������\\������� �������, ���� �� ������ ���� �������� ��� ����� �\\DOS ��� � ���� ��������� - Windows'���. ������ �� � ������\\����������� Windows, � ������� - � ������������� ����� ��\\������� ������ �������. ���� �� ����-������ � DOS'�\\������������� �������� sys  (��� ���������� �����\\���������� ������� � ���������� ����� �� ����� ����,\\��������� �� ������� - ������ ��� ���� ��������� ���\\���������), �� ������� �������, �� �� � ��� �������� ����\\����������� �������. ���� ������� ���� �����, ��\\�������������, �� ������� ������������ �������, � ���� �� ��\\����� ������� �������� �� �� ���� � ���� ����, �� �������\\sys  ���������� ������������� �������. �� ����������\\����, �� DOS ���������� �������� ����� ����� � ������\\�������� ����� � �� ���� ��������� ���� ������� (� DOS'� ��\\��� ��������� �����, �� ������ ������ � ����� ����� C: -\\MSDOS.SYS ��� PCDOS.SYS ������� �� ���������\\������� (���� �� � ����, �� ���'������, �� DOS\\�������� ������ �� ����� ����������, � �� ������ � �����\\���� DOS ��� ������� ``MS'') �� IO.SYS), ���� �� ����\\����������� � ������ ���� �����.

����������� ������ ������ � � ��, ��: � ������ ���� �������\\������ ����������� ����������� � ����� 1024 ������ �������,\\� � ������ - ����������� ���� ����� ������� ��������� �����\\������ �������������� ���� (��, �������, �� ��� ��\\�����). ��� ����, �� �� ����, ������� ��������� ��������\\(����� �������� �� ����) ��������� ������ ������� ���� ����\\�� ����. � ����� ��� ��, ��� ���� �� ����� ��� ���� (�������\\�� ��� ��� ����� ������ � ������ ��������� �� ���, � ����\\��� ���� ����� � ������� ������, �� ����� ���������� ��\\��������). \\\\� ����-������ �����, ( ˳���� �� � �����������), �������\\������� ��� ���� ���� �� ������ ����������. ��� �������\\˳����� �������� � �������� ���������, ������� � ��� PC,\\���������� ����� ���������, ��� �� ����� - � ������ ���� ����\\�� ������ �������� � ���� ������ ���������.

��������� ��������� ����� ��

�������, �� ������ ������� ������\\����� � ������. ���� ����� �� �������, �� ��������� Windows\\95 - ����'���� ������� �������� � ������������� �������.

������������ �������

�� ���� �� �������� ���\\ ����������� ����� �������� ������������ �������� �\\�������: ���� �������� ������ � /etc/passwd  ���������\\������ (``*''), �� ����� �� ����� �������������� � ������ �\\��� ������. ���� ��� ����� ���� ����� ��������� ������������\\��� ��������, ��� ������ ����� ���� ������ ��\\������. �������� ���� �� ���������� ����� ������, ���\\�����'��������� ��������, ��� ������ ���������� �� ��������\\������� � ��������� ��� �� ��� ���� ������. ���� ����\\����� �������� ����� ���������� � �������� � ����� ��� ��\\�� ��������, ��� ������� ������������ � �������� ��� �����\\���� ������� �����������. (��������, �� �������� ��� �������\\� ��������� ����������� � ����� ���, �� ����� �������� ���\\������� � ��������� ���������� �������������.) ��� ����, ��\\����� ������ ������������, �� �� �� ���������� ��\\���������� �������������, ���� ���� ������� �� ������, - �\\���� � ���� ������ �� ���?

��������� �������� ������������ ��������

�� ����� �� ˳�����, � \\\\SunOS �� Solaris �� X ����� ����������� � ����\\\\�������� �� /usr : /usr/bin/X11 ,\\\\/usr/lib/X11  � �.��.

������� ������� /usr

���������, tar  � SunOS �� ����\\�������� ����� ����������� �������� (/dev/*)

���� ������ ��� ���������

�����, ���� ����'����\\������� �� ���������� �� �����, ��� �� �������� �\\X, �������� ������� ����� ������, �������\\X ������ ���������� �� ������ � ����� �\\�������� ����-���� ����'����, �� ��������� � �����.

��������� � ������ ���

�� ������, � ������\\�������� ����������� �������� ��������� NFS ����� ����\\�������� �� /var . ���. ����� ��� /var/spool/mail 

������� ������� /var

�� ������. SunOS ������ �����\\����� � /etc/security/passwd.adjunct. 

��������� ��������

�������� ���������\\- ����� ��� ����� � ���������� ����� �� �������. � X\\Windows ``�����-�������� �����'' �� ������ ������. X Windows\\���������� ������� �� ��������� � ������ �� �� �����.

����������

��������\\������������� �������, �� ���� ����������� � ���� �� �������\\���.

���������� �� �������������

�������� ���� ������� ��\\���������� �� ������� ����� ��� ������� ����'�������\\�����. ������� cron  ��������� ����� �����, �� �� ��\\���'��� ����� �����, �� ������ �� �� ����� ����������\\�������, ����� ����, �� ����� ���������� ��������. ``��\\���'��� �����'' ������ ��� ��: cron  �� ���� ������\\������ ��� ��, �� ������� ��������, � �� ��, � ���� ����\\������������, �� ���� ����. ������ �� ���: �� �������\\�����, � ����������� ����� ������� ����� ��� ����, ���\\���������, �� ����������� �� �� ������� �����\\�������. ���� ���� ������� �, �� �� �� ������� (��� �������\\� ����� �� ���������), ���� � ��, �� �� ���� ���:\\��������, � ��� ����� ��� (�� �� ���� �������). ���� ����\\�����, (�� ������� ����� ��������, ��� � ������ � ����������)\\���������� �������� �� �������� ���� ������ (�������\\����������� ����� ����� ��������� �������� 2000 ����(?)), ��\\... cron  �����������, ���������� �� �������� � �����\\���������� �������, �� ����������� �� �� �������,\\����� 20 ����, � ����� �� �����, �� �� 20 ���� ��������,\\� �� ����� �� ��-������ ���� ���� ������� �� ��. ����, �����\\�������� ���� ���� � cron '��, ����� ���� �� �������\\�������� � ����� �� ���������. ���� ������� � ����� �������\\�� ���������� �� ��������� �� ��� (�� �� �������, �� �������\\�� ������� ����������, ��, ������ ���� �� ������\\ �����������), �� ����� ������ ���������� �� ����\\�������. ���� � �������� �� ����������, ��\\...(���. ������). dz ���� �������� ��� �������, ���� ���� �\\������������ ������, �� ���� crontab  �� ������. ���\\�������� ���������, �� ���� cron  ������ ����\\����������� ����������� ����� �������, ��� � ������� ������\\������������ ������ �� ����������. ����� �� ����� ������\\������������� � ������ ����, ��� ���������� ����������� ��\\���� ������� �������, cron  ����� ������� ������ (�����\\/var/adm/messages): ``����� ������ ������� �����, ��\\���� ���������� �������� ������� � ���� ����� ����� �����'' -\\��� ����� � ��� ������� ����� ����� ������� ������ ��� �� ����\\�������.

³���������� �� ��������� ����

�������� �����\\�������� ���������� �'���������, �� ����� ���� ����. ������\\������� ���, �� Qt , GTK  �� GTK+ , JX ,\\����. �������� � ˳���� ���� ����� ����� ������, �� ����,\\�� ��� ����� ����-��� ���� ���� (�� �������� � ����� 1999\\����). ��� �������� ������ ����� ��, �� ������� �\\������������ ������ - ����� ����� ���� ����������� �������\\����� ���������. ����� ������ �������� ��������� ��������\\���, ��� ���� ���������� �������� ��������� ���������. ���,\\��������� KDE , ��� �������� �� Qt , ����\\������������ � ������, �� ������� ��� ������ ������ ��\\����� ����������, �� Macintosh  �� Windows .

��������� ���������

ϳ���\\������ � ˳������ ������ ���������� ������� � SunOS ��� �\\Solaris'� ���� �������� ����� ���������� ������������� �\\���������. � ˳����, ���� �� ���������� ����������\\�������-����, �� �������� ��������� -r, �� mount \\����� ������� �����������, ��� ���� ���-���� ������. ��� �\\SunOS �� Solaris'� �� ��-�����, �������� ������������, �\\��-�����, ������� ������ ��������� ���������� ���-���� �\\������������� ����� ���������, �� ��� ����� ������� ������� ��\\����������. ������� �� ����� �� ��, �� ����� ����� � ���-��\\�������� ������ ����������� � ����� ��������\\(iso9660 � ˳���� � hsfs � SunOS/Solaris),\\� �����쳺�� ������������ �� ������������ ������� ��������\\������.

���������� �� �������������

�������� �\\SunOS/Solaris'� ���������� �� � halt  � ����. halt \\������� ������ ���������. ��� � ˳���� halt  ������ �� �\\����, �� � shutdown -h  - �������� ������ ������� �\\�.�.

����� ����� ��� ���������

������ ���\\������: � SunOS �� Solaris ������� ������� mkfs  �\\������� newfs , ������ ��������, ��� �������-��\\���������� ���� � SunOS, ���� �� ����� ������������ �����\\˳������.

������������

���������� ������� ����� ��\\���� �������� ���� �� ������ �������� �� ���� ��������\\���������� ����: ���� ��������� ������ �� ����� ��������?,\\���� ���������� �� ������, ����� � ��� ���� - ��������\\��������� �� �����

"

³���������� �� ��������� ����

������� X Window

init | ��������� ���������

������� � ������������\\������ ����������, �� ���, ����� �� PC-˳�����.

����� ������� ����� � CMOS � ����������� ������� PC\\BIOS'��. ���� ������� ������������ ���� ����������� ��������\\���������� ������� �����. ������ ��� ����� ��� ���\\�������� - � SunOS �� Solaris � ���������� ���� ����� ����\\�����, � ��� ��������� � ����������� ���� ���� ����� ��\\�� �������. ��� ����� ����������� �������� � ���� ��������,\\��� �������� � ��������� ������ �����. Sparc ˳���� ��� ��\\����������� BIOS'�� ��� ���������� ������� ����� � ��\\������ �������, �� ����'����� Sun ������ �� ����� BIOS'��. �\\�� ����, �� ���� Sparc ˳���� ������� �������� �����, ����\\���� �����, ���� ����� � ��� ��������� � ���� ��������.

����� ���� ������� BIOS'� (��������� ��, �� ������������ ��\\������������ ���� - � �� �������� � �������� ��� ����� ����\\����������� ����� PC ��� ���� ���������) ����� ���������\\���� ����� ��'������� �� �������. � �� ����������� ��\\���������� ������� ���� � ��������� BIOS'� ���� ����\\�����.

������ �����

�������� ������� �������

���.FSSTND

�������� ������� ������� ˳����

���.FSSTND

����������� ��� ������ �\\compress  ��� ��������� ����� �� uncompress  ��\\zcat  ��� �� ����������

������� ��������� ��������

� �������� ���. ���������� ����� ���� �\\������� ``������ 䳺�''

��������� init ��� ������ getty: /etc/inittab

� ��� ˳�����\\��� Sparc �� ��� Alfa ��������� ����� LILO �������������� �\\SILO �� MILO ��������

����� ������� ��������

�\\��������� ��� ����� � ��������� ``������'' � ������ �������\\��������� ���������� ``raw''(raw disk, raw sector, raw\\partition), ���� ������� ��� �� ������������� �� ``�����''\\��� ``��������������''. �� �������� ����������,\\���������, �� ��������� �������� ��� �������� �� �����\\������� �������, ��� ������ �� ������������ ����� ���������\\�������� �� ������ �����. �� ������������� �� �����\\��������������� ``cooked'' - ����� ����� �� ��������\\�������� �� �����. (������� - cooked device,\\cooked partition, ����) - ����� ``������������'' (��������,\\����������). �������� �������� ���������� ���� �����\\�������� �� ������ ``�������'', ��� �� �� ������ - ��\\�������. ���� �, ����������� �� ������� ��������������� �����\\����������� ������, ������ ������� � ����� ��������\\����������. ���� �����, �� ����� ��� ���� ���������, �� ���\\���� ��� ���� � �� ��� ������.

�� ���� ������ �������?

³� ������\\����� ����� �� ����, ��������, � �� � ������\\������.

������ �����

³������� SunOS/Solaris �\\������ ������� ��������� � ����, �� �������� user\\�������� � ���� ��� ��������. ����� ���������� ��\\������������� �������� ������ ��������� �����\\���������� ������������� - root '�. ��� ��� ��������\\������� � �� ����, �� ���� �� ���������� ����� ��� ��\\������, � �� ����������� �� ��� �� ��������, �����, ���� ��\\����������� SunOS/Solaris.

���������� �� �������������

³������� ˳����� � SunOS/Solaris. � SunOS\\������ ��������� ��������� ��� ����-��������. ���� ��� �����\\������� ������, �� �� ������� �������� ��� �������, ����\\���������� � ���� �� ��, �� ���������� �����, ���� �������\\������������� ��� �������. SunOS �� ����� �������\\swapon , �� ����������� ����� �����, �� � ˳����. ���\\������� swapoff  � SunOS ����, ����� ������������� ����\\������ �� ��� ������ ������� ���������. Solaris ������ �\\���� ������ �� ˳����� � ����� ���������, ����� �� �����\\������ �������. ������� ��� ��������� ������ � Solaris'� ����\\����� - swap , ��� ���� ��������������� � ������\\����������� ������ �� �, �� � swapon , swapoff  ��\\free  (� ������� ��������� - swap -l  ������\\����������� ���� �������� �� ����� � ������, �� ��������\\���� ����������������, ��� ������ �������� ������������\\������� ���'��.)

��� ����, �� ��� ��������� ������ �� ������, � SunOS �\\Solaris ����� ������������� NFS ��� ��������� ����� �������\\�� NFS ������.

������������ �������

�������, �� �� ����������\\����� �� `PC-��������' ����������� ������. `��������' ������\\(���� SunOS, Solaris) ����� ��������, �� ����������\\format . ������� ��������� �� ���� ����� � ����, ��\\format  (��������� ����� �������� ������) ����쳺\\�������, ���, ���� ���� ��������� �� � ���������, � �\\������� (�� STDIN), ����� ������ ��������� ��������������\\������ �������� ����� �� ������, �� ����������� ������� �\\�������� �� ����������� ����, ���� ������� �������\\(`���������') ����'������ ������� ������������ ��\\�������������. ��������� ������������ ������� ������ ���� �\\���� ��������� ��������� ������ ��� ������ �����������������\\���������.

��������� ��������� ����� ��

����� � ���� - ������ `������� ���������' PC\\���'�������� � DOS��. ³����� ��� �������� � 640 �����\\���������� ���'�� - �� ���� �� �������� ��������. ����\\����� ��, �� PC ������ � ������������ ����� (standard mode)\\�� ��� ��������, ������ ������������ ������������ ����\\˳����� ��������� gzip  - ���� �� ��������� �������� �\\����� 640����� ���'��. � �� ��� - �� ���������� �����\\PC-˳�����, �� ���� ˳�����, �� ���� ������ �� ����� �������\\������������ ����.

��������� ��������� ����� ��

�� � ������������ �������� ˳����� �������� �\\SunOS �� Solaris. ����� ��������� ���������� ����-���� �� NFS\\�� ������ ���������� ��������� �볺��� - ����� ������\\�������, �� ������ ����������� � �����, ��������� ��\\������ ������� ����� NSF � ������� �� ���� ����-����\\����������� ��� ���� � �������. ����� �� ������ ������ �\\˳����, ��� ����������� ��������� ����-����� ����� NFS\\������ ������ ���'��� ������������ ˳����-�볺��� �� �������\\���'�� ���������� ����'�����, ��, �������� �, � ��������\\�������� �� � ���������

��������� �������� ��� �������



Dmytro Kovalev
1999-06-10
�����
 
��� �������
2004-03-23 13:48:46
TopList
© 2000-2003, ���, ������� �������� -- ���� �� ����������, �������� ����������� -- ����� ������, ��i���� -- 08.06.2003 14:25:52