250+ TOP MCQs on Linux Filesystem Hierarchy and Answers

Linux / Unix questions and answers focuses on linux filesystem hierarchy. This is set-1.1. Operating system kernel must be located in
a) /
b) /boot
c) either in / or in /boot
d) none of the mentioned

Answer: c
Clarification: None.

2. Which one of the following is a mount point for a temporarily mounted filesystem?
a) /mnt directory
b) /media directory
c) /dev directory
d) none of the mentioned

Answer: a
Clarification: None.

3. What is /root?
a) root filesystem
b) home directory of the root user
c) the directory which contains all the directories of the filesystem
d) none of the mentioned

Answer: b
Clarification: None.

4. System binaries are stored in
a) /sbin directory
b) /usr/sbin directory
c) /usr/local/sbin directory
d) all of the mentioned

Answer: d
Clarification: None.

5. The /dev directory contains the
a) device drivers
b) device files
c) kernel modules of device drivers
d) none of the mentioned

Answer: b
Clarification: None.

6. The contents of root filesystem is responsible to
a) boot the system
b) recover the system
c) repair the system
d) all of the mentioned

Answer: d
Clarification: None.

7. Static files of the bootloader are installed in
a) /boot directory
b) /root directory
c) /bin directory
d) /sbin directory

Answer: a
Clarification: None.

8. Linux filesystem contains mainly
a) ordinary files
b) device files
c) directory files
d) all of the mentioned

Answer: d
Clarification: None.

9. In linux filesystem, the passwords of different users are stored in
a) /etc/passwd file
b) /bin/passwd file
c) /etc/shadow file
d) /bin/shadow file

Answer: c
Clarification: Passwords are visible in encrypted format in the file.

10. Superuser can change the _______ permissions of any file.
a) owner
b) group
c) other
d) all of the mentioned

Answer: d
Clarification: None.

Leave a Reply

Your email address will not be published. Required fields are marked *