Difficulty: Easy
Correct Answer: /usr
Explanation:
Introduction / Context:
The Linux Filesystem Hierarchy Standard (FHS) defines a common directory structure across distributions. Knowing where executables and libraries reside helps administrators manage software, PATH settings, and storage.
Given Data / Assumptions:
Concept / Approach:
The /usr hierarchy holds user system resources: binaries in /usr/bin, system admin binaries in /usr/sbin, libraries in /usr/lib, and shared data in /usr/share. Locally installed admin/user software typically goes under /usr/local. /opt is for add-on packages; /tmp is for temporary files; /mnt is a mount point.
Step-by-Step Solution:
Verification / Alternative check:
List directories with ls /usr to confirm existence of bin, sbin, lib, share, and local. Consult man hier or FHS documentation for definitions.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing /usr with /usr/local or /opt. While programs can exist in all three, /usr is the principal tree for distribution-provided binaries and libraries, whereas /usr/local is for locally installed software and /opt is for third-party add-ons.
Final Answer:
/usr
Discussion & Comments