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

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

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 year, 8 months ago
Selected Answer: C
https://man.openbsd.org/getent.1
upvoted 3 times
...
iwkno6
2 years, 7 months ago
C is correct
upvoted 2 times
...
CuriousLinuxCat
2 years, 8 months 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 3 times
...
CuriousLinuxCat
2 years, 8 months 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
...
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 ...