← Command encyclopedia

getent

Look up passwd or group entries.

Executable in the CoreQ simulator

Syntax

getent passwd|group [NAME]

Practise it now in the Linux sandbox. Type man getent there for a quick summary.

Related commands

whoamiidgroupschmodchownchgrpsudouseradd