Primary
getent ⚬ˢʰ|Definition|1st|20260523112547-00-⌔
getent
getent is a Unix command that helps a user get entries in a number of important text files called databases. This includes the passwd and group databases which store user information – hence
getentis a common way to look up user details on Unix. Sincegetentuses the same name service as the system,getentwill show all information, including that gained from network information sources such as LDAP.The databases it searches in are: ahosts, ahostsv4, ahostsv6, aliases, ethers (Ethernet addresses), group, gshadow, hosts, netgroup, networks, passwd, protocols, rpc, services, and shadow.
The general syntax is:
getent database [key ...]Thorsten Kukuk wrote the getent utility for the GNU C Library.
Printed 2026-06-28.
(echo:: @ ᯤ)
Link to original
getent ⚬ˢʰ|docu|1st|20251021001049-00-◊
getent(1) - Linux manual page
Link to original
(echo:: @ ᯤ)
Secondary
• • •