Difficulty: Easy
Correct Answer: /sbin
Explanation:
Introduction / Context:
The Linux/UNIX filesystem is organized by role. Understanding where administrative commands and configuration live helps with troubleshooting, scripting, and security hardening. While configuration files are generally in /etc, many privileged system-management binaries are in /sbin (and /usr/sbin). Knowing the distinction prevents accidental edits in the wrong place and enables faster navigation during maintenance or recovery.
Given Data / Assumptions:
Concept / Approach:
/sbin holds system binaries primarily intended for the superuser (root): boot utilities, network configuration tools, filesystems administration, and recovery commands. These differ from ordinary user commands in /bin and site-wide apps in /usr/bin. System configuration files (text) are mostly under /etc, but the executables used to apply or manage those configurations live in /sbin or /usr/sbin.
Step-by-Step Solution:
Identify directory purpose: /sbin = system administration executables.Contrast with /etc, which stores configs, not offered as an option.Exclude other options based on their roles.Select the directory that best matches administrative binaries: /sbin.
Verification / Alternative check:
Run which ip or which fsck on a Linux host; results typically point to /usr/sbin or /sbin, confirming admin-binary locations. Reading the FHS documentation further reinforces this mapping.
Why Other Options Are Wrong:
/home stores user home directories, not admin executables./proc is a virtual filesystem exposing kernel and process state./var contains variable data like logs, spool, and caches, not core admin binaries.
Common Pitfalls:
Final Answer:
/sbin
Discussion & Comments