getent
getent
getent [options] database key
Search the specified database for the specified key. The database may be any one of passwd, group, hosts, services, protocols, ornetworks.
Options
Specify the service configuration to be used. See nsswitch.conf(5) for information about name-service switching.
Display a help message.
Display a very short syntax synopsis.
Print version information and quit.