September 2000
Intermediate to advanced
624 pages
14h 32m
English
To find out what user ID number you are, the id(1) command can be used:
$ id
uid=1001(me) gid=2010(mygrp) groups=2010(mygrp), 2011(dev)
$
The id(1) command indicates that the user me is user ID number 1001 and is a member of group number 2010. The user and group names are shown in brackets. These were obtained by looking up the user ID and group ID numbers in the password and group file databases, respectively.
The id(1) command previously reported that username me was user ID 1001. Another term for the user ID number is the uid number. This is derived from the fact that UNIX systems today keep the user ID number in the C data type uid_t. The following summarizes ...
Read now
Unlock full access