ID

Section: User Commands (1)
Index Return to Main Contents
 

NAME

id - Display current user and group ID names  

SYNOPSIS

id [ -a ]  

DESCRIPTION

id 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 multiple concurrent group membership.  

Files

/etc/passwd - user account information
/etc/group - group information  

See Also

getuid(2), getgid(2), getgroups(2)


 

Index

NAME
SYNOPSIS
DESCRIPTION
Files
See Also

This document was created by man2html, using the manual pages.
Time: 06:36:23 GMT, May 19, 2025