CS/CE 218 Quiz #2 September 12, 1991 (Open book) 1. (3 pts) Suppose you own a file "foo" with permissions (a mode of) 444. (Answer ``yes'' or ``no'' for each of the following.) a. Can other people (not you) read "foo"? b. Can other people write "foo"? c. Can you write "foo"? 2. (2 pts) Suppose your current working directory is /home/cs218/public/me. Give a RELATIVE path from your current working directory to /home/cs218/public/study-guides/text-filters/study-guide.txt ? 3. (6 pts) Suppose the output of "ls" in the current working directory is as follows: X abxby axyz x xy a axe ay xabcdefgy yak What would be the output of the following commands? a. ls x*y b. ls ?a* 4. (5 pts) For each of the following path names, does the pattern [a-z]*c match that path name? (Answer ``yes'' or ``no'' for each.) a. xterm.c b. xterm.txt c. y/xterm.c e. Mtermc