id(1) id(1)
NAME
id - print user and group IDs and names
SYNOPSIS
id
DESCRIPTION
id writes a message on the standard output giving the user
and group IDs and the corresponding names of the invoking
process. If the effective and real IDs do not match, both
are printed.
EXAMPLE
id guest
will return
uid=100 (guest) gid=100 (users)
where 100 and guest are the user's ID number and name and
100 and users are the user's group ID number and group name.
These values are set up in the administrative file
/etc/passwd.
FILES
/usr/bin/id
/etc/passwd
SEE ALSO
logname(1), getuid(2).
Page 1 (last mod. 1/16/87)