id(1M) — ADMINISTRATOR COMMANDS
NAME
id − print the user name and ID, and group name and ID
SYNOPSIS
id [ −a ]
DESCRIPTION
id displays the calling process’s ID and name. It also displays the group ID and name. If the real effective IDs do not match, both are printed.
The -a option reports all the groups to which the invoking process belongs. ID, and your username. If your real and effective IDs do not match, both are printed.
The −a option reports all the groups to which the invoking user belongs.
SEE ALSO
— Essential Utilities