getent
The getent program gathers entries from the specified administrative database using the specified search keys. Where database is one of aliases, ethers, group, hosts, netgroup, networks, passwd, protocols, rpc, services or shadow.[1]
Documentation
- man 1 'getent' [EN]
Syntax
getent DATABASE [KEY ...]
Examples
- Test the databases for passwd
getent 'passwd'
References
- ↑ man 1 'getent'