getent
The getent command displays entries from databases supported by the Name Service Switch libraries, which are configured in /etc/nsswitch.conf.

getent
–usage, Give a short usage message.
Supported databases:
ahosts, ahostsv4, ahostsb6, aliases, ethers, group, gshadow, hosts, initgroups, netgroup, networks, passwd, protocols, rpc, services, shadow