nerdexam
LPI

202-400 · Question #69

How can a user's default shell be checked, by querying an NIS server?

The correct answer is C. ypmatch -d example.com user passwd. See the full explanation below for the reasoning.

Question

How can a user's default shell be checked, by querying an NIS server?

Options

  • Aypquery [email protected]
  • Bypgrep user example.com
  • Cypmatch -d example.com user passwd
  • Dypcat -d example.com user
  • Eypq @example.com user +shell

How the community answered

(35 responses)
  • A
    9% (3)
  • B
    3% (1)
  • C
    83% (29)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full 202-400 Practice