~/id(1) en

ID(1)General Commands ManualID(1)

NAME

id, groups - the numbers behind a name

SYNOPSIS

id [user]

DESCRIPTION

The uid, gid and groups of whoever you are, or of the user you name, read out of /etc/passwd and /etc/group — the same two files anything else would read them from, and world-readable here for the same reason.

groups prints the group on its own.

EXAMPLES

id

id tilen

SEE ALSO

whoami(1), finger(1), su(1)

tilenkoren.com2026ID(1)