September 2000
Beginner
1312 pages
33h 47m
English
/bin/getent database [key...]
Use the getent command to display a list of entries from the administrative database specified by database. The information generally comes from one or more of the sources that are specified for the database in /etc/nsswitch.conf.
database is the name of the database to be examined. The value can be passwd, group, hosts, services, protocols, ethers, networks, or netmasks. For each of these databases, getent uses the appropriate library routines described in getpwnam(3C), getgrnam(3C), gethostbyname(3N), getservbyname(3N), getprotobyname(3N), ethers(3N), and getnetbyname(3N).
Each key must be in a format appropriate for searching on the respective ...