SectionA: (Multiple choice)
(20 Marks)
Read each question carefully, and then select the ANSWERthat best fits the question.
1. The directory /media is the?
a) mount point for removable media
b) mount point for filesystem
c) mount point for removable media & filesystem d) none of the mentioned
2. Which one of the directories does not contain binary files?
a) /bin
b) /sbin
c) /etc
d) none of the mentioned
3.. The directory /opt is reserved for?
a) installation of add-on application software packages
b) optional booting files
c) optional user specific files
d) none of the mentioned
4. How do you get help about the command "cp"?
a) help cp
b) man cp
c) cd ?
d) none of the mentioned
5. The permission -rwxr-r- represented in octal expression will be?
a)777
b)666
c)744
d)711
6. Indicate the right option to search for BOB,Bob, BOb or BoB?
a) grep-i Bob files
b) grep 'B[oO][bB]' files
c) grep '[BOB]' files
d) grep -v 'Bob' files
7. How do you remove duplicate lines from the file foo using uniq?
a) sort foo I uniq -u
b) sort -u foo I uniq -d
c) sort foo I uniq -c
d) sort foo I uniq -I
8. Which command is used to check filesystem usage in a system?
a) mount
b) df
c) du
d) dd
9. Which file contains the filesystems to be automatically mounted during boot?
a) /etc/mount
c) /etc/inittab
10. Which one of these is characteristic of RAID5?
a) Distributed parity
b) /etc/fstab
d) /etc/boot
b) No Parity
c) All parity in a single disk
11. d) Double Parity The first line in any shell script begins with a __ ?
a) &
b) !
c) $
d) #
12. Which one of the following statements is true about variables in shell?
a) variables do not require declaration before assigning value to them
b) variables are case sensitive
c) to extract the contents of a variable, we have to provide the variable a preceding$
d) all of the mentioned
Page 2 ofS