Timedora
Free Practice Quiz Question List

Linux Filesystem Hierarchy and Directories Online Quiz Questions

Use this free practice quiz with 20 questions to review Linux Filesystem Hierarchy and Directories, test your knowledge, and prepare for your next test or exam.

20 questions
01
Choose one
1 point

Which path is the root of the Linux directory hierarchy?

  1. A

    /

  2. B

    /home

  3. C

    /etc

  4. D

    /var

02
Choose all
1 point

Select all statements that correctly describe common Linux directory purposes.

  1. A

    /home is commonly used for ordinary users’ personal directories.

  2. B

    /root is commonly used for ordinary users’ personal directories.

  3. C

    /etc commonly contains system-wide configuration files.

  4. D

    /var commonly holds data that changes during normal system operation.

  5. E

    /usr is the root of the directory tree.

03
Written response
1 point

What is the conventional purpose of /etc? Give its purpose, not its path.

04
Fill in the blank
1 point

The connected Linux directory hierarchy begins at .

05
Open ended
1 point

Explain how Linux organizes files and directories, and describe one common directory purpose. Include whether that purpose is guaranteed on every machine.

06
Choose one
1 point

Which directory is conventionally the root administrator’s home directory?

  1. A

    /home is the root administrator’s home directory.

  2. B

    /root is the root administrator’s home directory.

  3. C

    /etc is the root administrator’s home directory.

  4. D

    /var is the root administrator’s home directory.

07
Choose all
1 point

Select all statements that correctly describe these common Linux directories.

  1. A

    /tmp is commonly used for temporary files.

  2. B

    /dev contains device files and certain kernel interfaces.

  3. C

    /proc is conventionally the root administrator’s home directory.

  4. D

    /proc is a virtual filesystem exposing process and kernel information.

  5. E

    /run is the root of the directory tree.

08
True or false
1 point

Mounted storage can appear only under /mnt or /media in the Linux directory hierarchy.

  1. A

    True

  2. B

    False

09
Written response
1 point

What type of data is /var conventionally used to hold? Give a short description, not the path.

10
Fill in the blank
1 point

Linux organizes files and directories in one connected hierarchy that begins at .

11
Choose one
1 point

Which statement describes how Linux presents filesystems when multiple filesystems are mounted?

  1. A

    Each mounted filesystem has a separate hierarchy that users must navigate independently.

  2. B

    Mounted filesystems can be included in the single hierarchy rooted at /.

  3. C

    The root directory changes to match the disk currently being used.

12
True or false
1 point

The Filesystem Hierarchy Standard guarantees that every Linux machine uses exactly the same directory layout.

  1. A

    True

  2. B

    False

13
Written response
1 point

Which conventional Linux directory holds data that changes during normal system operation, such as logs and caches?

14
Choose one
1 point

Which directory conventionally contains system-wide configuration files?

  1. A

    /home

  2. B

    /tmp

  3. C

    /etc

  4. D

    /dev

15
True or false
1 point

Mounted storage can appear anywhere in the Linux directory tree, even though /mnt and /media are common mounting locations.

  1. A

    True

  2. B

    False

16
Written response
1 point

What is the conventional path for the root administrator’s home directory?

17
Choose one
1 point

Which common Linux directory is a virtual filesystem that exposes process and kernel information?

  1. A

    /proc

  2. B

    /run

  3. C

    /usr

  4. D

    /media

18
Choose one
1 point

Which purpose is commonly associated with /usr?

  1. A

    Personal directories for ordinary users

  2. B

    Many installed programs, libraries, and shared data

  3. C

    System-wide configuration files

  4. D

    Runtime state created during system startup

19
Choose one
1 point

Which statement best describes Linux’s filesystem hierarchy?

  1. A

    Each mounted filesystem has a separate hierarchy that users must navigate independently.

  2. B

    The directory tree begins at / and can include multiple mounted filesystems.

  3. C

    The directory tree begins at /home for ordinary users and /root for administrators.

  4. D

    The root directory changes depending on which disk stores a file.

20
Choose one
1 point

Which option correctly distinguishes the typical purposes of /home and /root?

  1. A

    /home is the administrator’s home; /root contains ordinary users’ personal directories.

  2. B

    Both /home and /root are used only for temporary files.

  3. C

    /home holds ordinary users’ personal directories; /root is the root administrator’s home.

  4. D

    /home stores system-wide configuration; /root stores runtime state.