Hybrid Quiz 2 (Material from w03-w04) - Results 1

pdf

School

Algonquin College *

*We aren’t endorsed by this school

Course

CST8102

Subject

Computer Science

Date

Feb 20, 2024

Type

pdf

Pages

2

Uploaded by ProfessorStrawMouse21

Report
Hybrid Quiz 2 (Material from w03-w04) - Results X Attempt 1 of Unlimited Written Feb 10, 2024 3:39 PM - Feb 10, 2024 3:52 PM Question 4 Attempt Score 6/ 10 Overall Grade (Highest Attempt) 6 / 10 0/ 1 point If I am in the directory /home/me and mt is an empty sub- directory, what 1s true after this command line: touch foo ; mkdir bar ; mv foo mt/bar (O the = ( )the O the (O the % (o) the Question 5 directory mt 1s still empty directory mt now contalins a file named bar directory bar now contains a file named foo directory mt now contains a file named foo command fails because mt/bar is not a directory 0/ 1 point What 1s the minimum permission needed on the directory dir TO: ln dir/1 .txt 2.txt
Question 7 0/ 1 point Enter the complete command to set all newly created directories to let others access directories but not know which files are 1n there and cannot remove 1tems. User and group aren't restricted. Use the minimal 3 digits octal permissions mode. Answer: umask 004 3 (umask 006) Question 9 O/ 1 point Change the permission of a new script myprog.sh such that the owner/user only can read the content, users in the group can only append or clear the content, and everyone else can only run the script. Use 3 digits octal permissions mode. Answer: 1 % (chmod 421 myprog.sh)
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help