Linux Filesystem Hierarchy Questions & Answers for Freshers

1. Operating system kernel must be located in

a) /
b) /boot
c) either in / or in /boot
d) none of the mentioned
Answer: c
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
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
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
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
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
7. Static files of the bootloader are installed in

a) /boot directory
b) /root directory
c) /bin directory
d) /sbin directory
Answer: a
8. Linux filesystem contains mainly

a) ordinary files
b) device files
c) directory files
d) all of the mentioned
Answer: d
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

Explanation: 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
11. When we install a new package in linux system, then

a) all the files of the packages are installed in a single directory
b) different files are installed at different locations of the file system
c) package works just after extraction, installation is not required
d) none of the mentioned
Answer: b
12. Host specific configuration files are installed in

a) /etc directory
b) /lib directory
c) /root directory
d) /bin directory
Answer: a
13. 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
Answer: a
14. What is /bin/sh ?

a) bourne shell
b) hard or symbolic link to the real shell command
c) bash shell
d) both bash shell and bourne shell
Answer: b
15. The /boot directory stores the data that is used

a) before the kernel begins executing user mode programs
b) after the kernel begins executing user mode programs
c) before the bootloader is loaded in the RAM
d) none of the mentioned
Answer: a
16. Which one of the directory does not contain binary files?

a) /bin
b) /sbin
c) /etc
d) none of the mentioned
Answer: c
17. Kernel modules are present in

a) /lib directory
b) /root directory
c) /boot directory
d) none of the mentioned
Answer: a
18. 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
Answer: a
19. The directory /srv contains

a) site-specific data which is served by the system
b) all the system files
c) all the service files provided by the specific user
d) none of the mentioned
Answer: a
20. Any file or directory present in the ______ directory may not be reserved between the invocation of the program.

a) /var
b) /tmp
c) /etc
d) all of the mentioned
Answer: b

Related

Java Multiple Choice Questions & Answers on Collection Framework Overview for Freshers

1. Which of these packages contain all the collection classes? a) java.langb) java.utilc) java.netd) java.awt Answer: b 2. Which of these classes is not part of Java’s collection framework? a) M...

Java Multiple Choice Questions & Answers on Java.lang package Boolean Wrapper Advance for Freshers

1. Which of these methods of Boolean wrapper returns boolean equivalent of an object. a) getBool()b) booleanValue()c) getbooleanValue()d) getboolValue() Answer: b 2. Which of the following consta...

Java Multiple Choice Questions & Answers on Java.lang package Character Wrapper Advance for Freshers

1. Which of these methods of Character wrapper can be used to obtain the char value contained in Character object. a) get()b) getVhar()c) charValue()d) getCharacter() Answer: c Explanation: To ob...

Post a Comment

emo-but-icon
:noprob:
:smile:
:shy:
:trope:
:sneered:
:happy:
:escort:
:rapt:
:love:
:heart:
:angry:
:hate:
:sad:
:sigh:
:disappointed:
:cry:
:fear:
:surprise:
:unbelieve:
:shit:
:like:
:dislike:
:clap:
:cuff:
:fist:
:ok:
:file:
:link:
:place:
:contact:

item