Given the following scripts, what output would be generated?()
A.The sky is red. B.The sky is blue. C.The sky is green. D.The sky is yellow.
单项选择题Given the following scripts, both found in usr local bin, what would the output be when executing usr local bin script1?()
A.dog cat B.dog fish C.mouse cat D.mouse fish
单项选择题Howcanpermissionsbesetupon tmpsothatausercannotdeleteanotheruser’sfiles?()
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.