getent Command Examples

Get entries from Name Service Switch libraries. More information: https://manned.org/getent.

getent group

getent group {{group_name}}

getent services

getent passwd 1000

getent hosts {{host}}