$ id
uid=1007(farly) gid=100(users) groups=100(users),109(handmin),111(toor)
Every user and group in Linux are mapped to a UID or GID. Your primary group is called "users", whose GID is 100, and your username is "farly", whose UID is 1007. You can compare this to an IP address and its hostname. Using descriptive names is easier to remember than some random number. The other 3 fields are the groups you are in and their respective GIDs.
This info is kept in the /etc/passwd and /etc/group files.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.