nerdexam
CompTIA

XK0-005 · Question #732

Which of the following directories contains binaries that only a root user should run?

The correct answer is A. /sbin. The /sbin directory contains essential system binaries that are typically only used by the root user. These binaries include commands like ifconfig, fdisk, and reboot, which require root privileges to execute. /bin contains user-level binaries, while /root is the home directory…

System Management

Question

Which of the following directories contains binaries that only a root user should run?

Options

  • A/sbin
  • B/bin
  • C/root
  • D/lib

How the community answered

(38 responses)
  • A
    92% (35)
  • C
    3% (1)
  • D
    5% (2)

Explanation

The /sbin directory contains essential system binaries that are typically only used by the root user. These binaries include commands like ifconfig, fdisk, and reboot, which require root privileges to execute. /bin contains user-level binaries, while /root is the home directory of the root user, and /lib holds shared libraries.

Topics

#Linux filesystem#FHS#System administration#Root binaries

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice