id(1) — Commands
OSF
NAME
id − Displays the user’s system identity
SYNOPSIS
id
DESCRIPTION
The id command writes a message containing the user and group IDs and corresponding names of the invoking process to standard output. When effective names and IDs do not match the real ones, the id command writes both.
EXAMPLES
To display your user and group IDs, enter:
id
Information similar to the following is displayed:
uid=200(thomas) gid=1(staff)
RELATED INFORMATION
Commands: logname(1).
Functions: getuid(2).