首页
首页 » 其它 » getent

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

-s,--service=CONFIG

Specify the service configuration to be used. See nsswitch.conf(5) for information about name-service switching.

-?,--help

Display a help message.

--usage

Display a very short syntax synopsis.

-V,--version

Print version information and quit.