Professional Documents
Culture Documents
作業系統實習 單元4+ (20160322)
作業系統實習 單元4+ (20160322)
作業系統實習 單元4+ (20160322)
4:
Part I.
(owner; u) / (group; g) /
(others; o)
(read; r) / (write; w) / (execute; x)
(file) / (directory)
///
w
()
x /
chgrp [-R]
chown [-R]
chmod (r/w/x)
(s/s/t)
root
/var (variable)
5. (path)
(absolute path)(/)
/home/student/.bashrc
(relative path) /
3
() ./home/student
../../home/student home/student
Part II.
1. Textbook2 ,
Linux : 5. Linux
Linux : 6.4
Linux : 6.8 ()
2. , ( /
):
chgrp, chown, chmod
touch, file
umask, chattr, lsattr
3. student touch
testfile:
ls l testfile
chmod testfile
-rw-rw----
chmod testfile
4
4. /tmp (
!)
Part III.
1. ls -l (
2. .
3. Linux
4.
5.
6.
7. (r/w/x)
8. (s/s/t)
9. -rwxr-xr--
10.
11. student ()
-rwx------ 1 root root 4365 Sep 19 23:20 the_root.data
12. student ( root ) (
) ,
5
drwxr--r-- 3 root root 4096 Jun 25 08:35 .ssh
13. , ., .., -, ~
14.
15.
16. ,
17. chattr +a i
18. SUID
19. SGID
20. SBIT
21. /tmp
22. FHS,
23. FHS
24. (
25. (
26.
27.
()
6
Part IV.
1. Textbook1 ():
, Linux LPIC Level I + Novell CLA 11, ,
(ISBN: 978-957-22-4216-2)
(: http://lib1.nkfust.edu.tw/record=b1782653~S0
HyRead App )
2. Textbook2 ():
Linux : http://linux.vbird.org/
3. Linux :
http://linux.vbird.org/linux_basic/redhat6.1/linux_06command.php
http://140.128.161.4/students/node/469