nerdexam
GIAC

GCFA · Question #203

Which of the following directories contains administrative commands on a UNIX computer?

The correct answer is B. /sbin. On Unix and Linux systems, /sbin is the designated directory for system administration binaries that are typically restricted to the root user.

Advanced Mac & Linux Forensics

Question

Which of the following directories contains administrative commands on a UNIX computer?

Options

  • A/usr/local
  • B/sbin
  • C/bin
  • D/export

How the community answered

(33 responses)
  • A
    6% (2)
  • B
    79% (26)
  • C
    12% (4)
  • D
    3% (1)

Why each option

On Unix and Linux systems, /sbin is the designated directory for system administration binaries that are typically restricted to the root user.

A/usr/local

/usr/local is intended for software compiled and installed locally by the system administrator, not for core system administrative commands defined by the OS.

B/sbinCorrect

The /sbin directory (system binaries) is defined by the Filesystem Hierarchy Standard to hold essential administrative executables such as ifconfig, fdisk, fsck, and init, which are used for system maintenance and are usually restricted to the root user. This is distinct from /bin, which holds commands available to all users.

C/bin

/bin contains basic user-facing commands like ls, cp, and mv that are available to all users, not privileged administrative tools.

D/export

/export is not a standard Unix directory defined by the FHS - it is sometimes used by Solaris systems as an NFS export root but does not contain administrative commands.

Concept tested: Unix Filesystem Hierarchy Standard /sbin directory purpose

Source: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s16.html

Topics

#UNIX directories#sbin#administrative commands#Linux file system

Community Discussion

No community discussion yet for this question.

Full GCFA Practice