单项选择题
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
