A.chmod +s /tmp B.chmod 775 /tmp C.chmod 1777 /tmp D.chmod 4755 /tmp
单项选择题While installing an application, the administrator is instructed to perform two final tasks prior to starting the application: 1.Set the ownership of a file named ’control_file’ to be owned by the user ’database’ and the group ’appsrvr’. 2.Change the permissions of ’control_file’ to 0766. After these two tasks have been completed, what will the file permissions look like when ’ls -l control_file’ is executed?()
A.-rwxrw-rw- 1 database appsrvr 4913 Mar 17 08:24 control_file B.-rw-r--r-- 1 appsrvr database 4913 Mar 17 08:24 control_file C.-rw-r--r-- 1 database appsrvr 4913 Mar 17 08:24 control_file D.-rwxrw-rw- 1 appsrvr database 4913 Mar 17 08:24 control_file
单项选择题Asystemadministratorwantstogivefullread write excuteaccesstotheownerandgroupofthe stuffdirectoryandallsubdirectoriesandfiles,butonlyallowread executeforothers.Whatcommandwouldtheadministratoruse?()
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