Linux / Unix questions and answers focuses on basic understanding of Linux file systems and related commands for it.
1. Which command is used to check filesystem usage in a system?
a) mount
b) df
c) du
d) dd
Answer: b
Clarification: None.
2. Which among the following allows fast file system recovery?
a) Ext2
b) Journaling
c) Caching
d) Sysfs
Answer: b
Clarification: None.
3. Which filesystem can be used to change certain kernel parameters at runtime using sysctl command?
a) Ext3
b) Sysfs
c) Ext4
d) Procfs
Answer: d
Clarification: None.
4. Filesystem for CDROM is:
a) Ext2
b) Ext3
c) Isofs
d) Procfs
Answer: c
Clarification: None.
5. Which file system has journaling capability?
a) Ext2
b) Ext4
c) Isofs
d) Procfs
Answer: b
Clarification: None.
6. Which file contains the filesystems to be automatically mounted during boot?
a) /etc/mount
b) /etc/fstab
c) /etc/inittab
d) /etc/boot
Answer: b
Clarification: None.
7. ____ is a directory (which should exist), on which to mount the file system?
a) Root
b) Boot
c) Mount-point
d) Partition
Answer: c
Clarification: None.
8. Which command is used to mount file system read only.
a) mount –a
b) mount –v
c) mount –f
d) mount –r
Answer: d
Clarification: None.
Here’s the list of Best Reference Books in Linux Commands & Shell Programming.
