nerdexam
CompTIA

LX0-102 · Question #350

When logged in to a workstation which retrieves most of its user information from NIS, which command can be used to list ALL the users?

The correct answer is D. getent passwd. See the full explanation below for the reasoning.

Question

When logged in to a workstation which retrieves most of its user information from NIS, which command can be used to list ALL the users?

Options

  • Acat /etc/passwd
  • Bshow users
  • Cypusers list
  • Dgetent passwd
  • Ecat /var/lib/nis/passwd

How the community answered

(18 responses)
  • A
    6% (1)
  • B
    6% (1)
  • C
    17% (3)
  • D
    72% (13)

Community Discussion

No community discussion yet for this question.

Full LX0-102 Practice