mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 23:22:08 +02:00
369 B
369 B
getent
Get entries from Name Service Switch libraries. More information: https://manned.org/getent.
- Get list of all groups:
getent group
- See the members of a group:
getent group {{group_name}}
- Get list of all services:
getent services
- Find a username by UID:
getent passwd 1000
- Perform a reverse DNS lookup:
getent hosts {{host}}