14. Which command reads the user input from the terminal and assign this value to a
variable name?
a) read
b) get
c) declar
d) set
15. 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
16. Which command is used to check filesystem usage in a system?
a) mount
b) df
c)du
d)dd
17. Which file contains the filesystems to be automatically mounted during boot?
a) /etc/mount
b) /etc/fstab
c) /etc/inittab
d) /etc/boot
18. Which is an example for CD-ROM?
a) Virtual Terminal
b) block special file
c) Terminal
d) Serial modem
e) hard disk
19. What is /media directory used for?
a) mount point for removable media
b) mount point for filesystem
c) mount point for removable media & filesystem d) none of the mentioned
20. 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
Section B: True or False
[10 Marks]
Read each statement below carefully and state whether they are false or true.
1. The commercial distros also tend to have a longer release life cycle.
2. REDHat is one of the original Linux distributions.
3. We can use the> symbol along with pipe in a command.
4. Method of storing and organizing computer files and their data is referred to as file
system.
5. A famous professor Linus Torvalds developed Minix, a simplified version of UNIXthat
runs on PC.
6. The wc command is used to find out the number of users logged on.
7. HCLstands for High Computing Load.
8. Linux distributions can be broadly categorized into three groups.
9. Only one unprivileged user may be logged into a Linux system at any given time.
10. There are three types of variables in Linux.
Page 3 of 4