Copyright(c) by Galaxy CD – http://www.galaxycd.com
15
-rwxrwxr-x
8
bin
bin
60152 Mar 8
1988 ls
-rwxr-sr-x
1
bin
mail 63264 April 2
1988 mail
-rwxrwxr-x
1
bin
bin
15276 Mar 8
1988 mesg
-rwxr-xr-x
1
root bin
13180 Mar 8
1988 mkdir
…
Trong ñoù:
Coät 1 : loaïi file vaø quyeàn thaâm nhaäp (-rwxrwxr-x, rwxr-xr-x…)
Daáu tröø ‘-‘ ôû ñaàu coù nghóa file laø file thöôøng (khoâng phaûi thö muïc).
Daáu tröø ôû trong daõy bit coù nghóa laø khoâng coù quyeàn töông öùng bit ñoù.
Ñeå tieát kieäm choã, ngöôøi ta ñaët bit s vaøo cuøng moät nôi vôùi bit x vaø kyù hieäu:
-
s neáu x toàn taïi
-
S neáu X khoâng toàn taïi.
(bit s : set uid hoaëc set gid khi chaïy file)
Coät 2 : soá lieân keát (link number)
Coät 3 : teân ngöôøi sôû höõu file (owner)
Coät 4 : teân nhoùm sôû höõu file (group)
Coät 5 : kích thöôùc file.
Coät 6,7,8 : ngaøy söûa ñoåi gaàn nhaát
Coät 9 : teân file.
Caùc file ñaëc bieät (Special files):
$
ll
/dev
crw-------
1
lp
bin
8.97 May 6
1988 lp1
crw-rw-rw-
2
root sys
3,2
Apr
3
09:08 null
brw-r-----
3
root sys
0,96 Apr
3
08:54 pd300
.
.
crw-rw-rw-
4
root sys
4,012 May 6
1988 rflop
.
.
crw--w--w-
2
root other
1,17 Mar 2
07:57 tty11
Trong ñoù:
Coät 1: Kyù töï ñaàu tieân laø c hoaëc b coù nghóa laø file ñöôïc ñoïc hoaëc ghi theo töøng
kyù töï (c) hoaëc ghi theo töøng khoái (b).
Coät 5: Bieåu dieãn majo vaø minor cuûa thieát bò (major: loaïi thieát bò, minor: ñòa chæ
cuûa thieát bò)
Caùc file thö muïc (directory files):
$
ll
/users
drwxr-xr-x
2
user1 stagiair
240
Mar 31
10:16 user1