7,8,9.
: Linux
: *nix. .
*nix
( ).
. , , ( , , ). , .
, , , - : → .
, . , , . , . , -.
.
( ), .
, ( ).
Linux /. () /, . / (). , /home home (/), /home/user user home (, , ). , , . .
, / , . : , . : , . Linux : / , .
|
|
, , : ., ... . ( .) , . .. .
. a, a b. 0.txt, a 1.txt, b 2.txt. b 2.txt : ./2.txt. b 1.txt ( ) : ../1.txt. 0.txt, b, : ../../0.txt.
. *nix . :
1. : ( /dev/null, ), ( ), , ( ) (.. ). c ls -l.
2. : , , , . , , , , CD-ROM . : /dev/hda, /dev/sda5. , ls -l, b.
3. : . , - , , , . . , l. , , , .
4. : , shell', , . . ls -l p.
5. : , . , , . s.
Linux , , . . . , : , ( , , -), ( ). , , .
|
|
, - . . . , Linux . mount , ( ) , - . ( ) , . , .
() ( umount), , , .
Linux (root filesystem). () . , , , Linux, / ( ). , ( ).
: , , ( ) . ( , .) , .
*nix . , FHS (Filesystem Hierarchy Standart ). .
/bin
. /bin .
/boot
, .
/dev
/dev .
/etc
, .. , (, ).
/home
.
/lib
(, ).
/media
, (CD-ROM', floppy-, .)
/mnt
( ) .
/proc
, ( ) .
/root
.
/sbin
, /bin. , (root).
/tmp
, , , .
/usr
, . .
|
|
/var
, . .
- : /home /mnt (/ /media). , , , .
Linux /home . , /home. ( ) . Windows . Linux Windows . Linux, , , ( ). /home/userX Desktop " ".
/mnt FHS . ? , . , , . /etc/fstab, . : ? /media ( ) . , /mnt /media. , , .
.
Linux .
.
1. .
2. .
3. ?
:
.