Id (Unix)
3230912
211075640
2008-05-08T18:03:13Z
Ghettoblaster
6603820
misc fixes / cleanup
{{lowercase}}
In [[computer software]], '''id''' is a program in [[Unix-like]] [[operating system]]s that prints the [[User identifier (Unix)|UID]] of the account of which the program is executed by.
Example:
foobar@darkstar:~$ id
uid=1016(foobar) gid=100(users) groups=100(users)
The [[superuser|root]] account has a UID of 0.
The ''[[whoami]]'' utility has been obsoleted by the '''id''' utility and displays a user's ID as a name.
The command
id -un
is equivalent, however
id -p
is suggested for normal interactive use.
== See also ==
*[[List of Unix programs]]
*[[User identifier (Unix)|UID]]
*[[Group identifier (Unix)|GID]]
*[[Who (Unix)|who]]
*[[uname]]
== References ==
*{{man|cu|id|SUS|return user identity}}
{{Unix commands}}
[[Category:Unix software]]
[[pl:Id (Unix)]]
[[ru:Id]]