Name: ____________________________ Email: ____________________________

Scenarios and Answer Sheet for Question 5

Scenario A:
UNIX> ls -l f1.txt
-rw-r--r--  1 plank  staff  7 Mar 23 14:10 f1.txt
UNIX> q5 xca 666 27




Scenario B:
UNIX> ls -l f1.txt
-rw-r--r--  1 plank  staff  7 Mar 23 14:10 f1.txt
UNIX> q5 - 777 0




Scenario C:
UNIX> ls -l f1.txt
ls: f1.txt: No such file or directory
UNIX> q5 ca 644 644




Scenario D:
UNIX> ls -l f1.txt
-rwxr--r--  1 binky  elves  7 Mar 23 14:10 f1.txt
UNIX> q5 a 755 272




Scenario E:
UNIX> ls -l f1.txt
ls: f1.txt: No such file or directory
UNIX> q5 cx 777 22




Scenario F:
UNIX> ls -l f1.txt
-rwxrwxrwx  1 binky  elves  7 Mar 23 14:10 f1.txt
UNIX> q5 ct 644 70




Scenario G:
UNIX> ls -l f1.txt
-rw-r--r--  1 plank  staff  7 Mar 23 14:10 f1.txt
UNIX> q5 ac 752 0




Scenario H:
UNIX> ls -l f1.txt
-rw-------  1 binky  elves  7 Mar 23 14:10 f1.txt
UNIX> q5 a 666 22




Scenario I:
UNIX> ls -l f1.txt
-rw-r--r--  1 plank  staff  7 Mar 23 14:10 f1.txt
UNIX> q5 ct 706 0




Scenario J:
UNIX> ls -l f1.txt
ls: f1.txt: No such file or directory
UNIX> q5 - 666 0




Scenario K:
UNIX> ls -l f1.txt
ls: f1.txt: No such file or directory
UNIX> q5 ct 504 0




Scenario L:
UNIX> ls -l f1.txt
----r-----  1 plank  staff  7 Mar 23 14:10 f1.txt
UNIX> q5 t 766 22