在Linux作業系統中,如何將testfile檔案的屬性由『-rw-r--r--』改為『-rwxrwxr--』?
- (A) chmod 774 testfile 正確答案
- (B) chmod ug=rwx,o=r testfile 正確答案
- (C) chmod ug+x testfile
- (D) chmod testfile ug=r w x,o=r
官方答案:(A)chmod 774 testfile、(B)chmod ug=rwx,o=r testfile
詳解
-rwxrwxr--為774;chmod 774或ug=rwx,o=r皆可得到此權限(A、B)。
同章其他題目:儀表、軟體及一般工具使用
題目與答案照電腦硬體裝修乙級官方公開題庫(115.10.14 版)收錄;詳解是我寫的整理,正式內容以主管機關公告為準。