Linux/UNIX filesystem basics Which directory on a typical Linux system contains many system administrator executables and related system-management tools (alongside some configuration locations elsewhere)?

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:

  • The question asks for the location of system administrator executables and related tools.
  • Single best answer among core top-level directories: /home, /proc, /var, /sbin.
  • Standard Filesystem Hierarchy Standard (FHS) conventions apply.


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:

  • Confusing /etc (configs) with /sbin (binaries).
  • Assuming /usr/sbin and /sbin are interchangeable across all distros without PATH considerations.
  • Running admin tools without root privileges and expecting success.


Final Answer:
/sbin

More Questions from Linux

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion