Manual pages › System administration commands (1M)
id(1M)
print the user name and ID, and group name and ID
From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.
Also by this name: id(1), General 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
getuid(2) in the Programmer's Reference Manual.