Which statement best describes the /usr directory in this material?

Study for the OSCP Linux Exam. Use our flashcards and multiple-choice questions to test your skills. Each query comes with detailed hints and explanations to enhance your preparedness. Get ready to conquer the exam!

Multiple Choice

Which statement best describes the /usr directory in this material?

Explanation:
In Linux, /usr holds the user-space programs and libraries that aren’t essential for the system to boot or operate at a minimal level. It’s where most of the applications that users run live, along with their libraries and shared data. The practical upshot is that the bulk of user-installed or distribution-provided programs end up under /usr, especially in /usr/bin for executables and /usr/lib for libraries (with /usr/local/bin for locally compiled software). This is why describing /usr as the location for user-installed binaries best matches how the filesystem is organized in this material. Noting what doesn’t fit helps confirm the choice: system logs live in /var/log, not under /usr; the user’s home directories sit in /home; temporary files are kept in /tmp; and the root filesystem root is / (the top-level directory), not /usr.

In Linux, /usr holds the user-space programs and libraries that aren’t essential for the system to boot or operate at a minimal level. It’s where most of the applications that users run live, along with their libraries and shared data. The practical upshot is that the bulk of user-installed or distribution-provided programs end up under /usr, especially in /usr/bin for executables and /usr/lib for libraries (with /usr/local/bin for locally compiled software). This is why describing /usr as the location for user-installed binaries best matches how the filesystem is organized in this material.

Noting what doesn’t fit helps confirm the choice: system logs live in /var/log, not under /usr; the user’s home directories sit in /home; temporary files are kept in /tmp; and the root filesystem root is / (the top-level directory), not /usr.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy