System Grab Bag

View all man pages from shadowutils (or from all projects)

Name

id - display current user and group ID names

Synopsis

id [-a]

Description

The id command displays the current real and effective user and group ID names or values. If the value does not have a corresponding entry in /etc/passwd or /etc/group, the value will be displayed without the corresponding name. The optional -a flag will display the group set on systems which support supplementary groups (see initgroups(3)).

Files

/etc/group Group account information.

/etc/passwd User account information.

See Also

getgid(2), getgroups(2), getuid(2), initgroups(3)

Other Projects

This man page is also found in other projects: