~/id(1)
en
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