单项选择题
A system administrator wants to give full read/write/excute access to the owner and group of the /stuff directory and all subdirectories and files, but only allow read/execute for others. What command would the administrator use?()
A.chmod -R 775 /stuff
B.chmod -h 002 /stuff
C.chmod -R 577 /stuff
D.chmod ug+rwx,o+rx /stuff
相关考题
-
单项选择题
A user reports that they cannot cd to /tmp/application. A system administrator entered the following command: (1)ls -ld /tmp/application (2)drw-r--r-- 4 root system 512 Jan 15 14:09 application What is the most likely cause of the problem?()
A.The /tmp/application should be globally writable.
B.The /tmp/application directory should be executable.
C.The /tmp/application directory should be owned by the user.
D.The /tmp/application directory should have the sticky bit set. -
单项选择题
Given the following script, why does the output come out as an empty line instead of "dog"?()
A.The $VAR variable was not exported
B.The $VAR should have been set as VAR
C.dog needs double quotes around it when setting $VAR
D.The { } should not be around VAR in the echo command -
单项选择题
Review the following program. What is the possible problem?()
A.#!/bin/ksh line is missing
B.Variable name VAR is not properly initialized
C.Loop variable is not incremented inside the loop
D.Loop variable is not decremented inside the loop
