nerdexam
CompTIACompTIA

XK0-005 · Question #1727

XK0-005 Question #1727: Real Exam Question with Answer & Explanation

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 o

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

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 file system#Directory structure#System binaries#Root privileges

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions