id(1M) UNIX System V(Essential Utilities) id(1M)
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
getuid(2) in the Programmer's Reference Manual
10/89 Page 1