Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Exam 102-500 topic 1 question 112 discussion

Actual exam question from LPI's 102-500
Question #: 112
Topic #: 1
[All 102-500 Questions]

Which of the following getent invocations lists all existing users?

  • A. getent homes
  • B. getent uids
  • C. getent passwd
  • D. getent users
  • E. getent logins
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
drliu1202
1 month, 4 weeks ago
Selected Answer: C
https://man.openbsd.org/getent.1
upvoted 1 times
...
iwkno6
1 year, 1 month ago
C is correct
upvoted 1 times
...
CuriousLinuxCat
1 year, 1 month ago
Correct answer is C. All the other answers do not exist in the 'getent' command. Tested on Ubuntu 20.04. Getent allows the user to get entries from important text files called databases. It is a common way to look up user details on Linux. See here for more examples: https://www.geeksforgeeks.org/getent-command-in-linux-with-examples/
upvoted 2 times
...
CuriousLinuxCat
1 year, 1 month ago
Correct answer is C. All the other answers do not exist in the 'getent' command. Tested on Ubuntu 20.04. Getent allows the user to get entries from important text files called databases. It is a common way to look up user details on Linux. See here for more examples: https://www.geeksforgeeks.org/getent-command-in-linux-with-examples/
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...