4

How to Find UID, GID, and any groups I belong to ?

  • You can use id. – taliezin Mar 20 '15 at 12:51
10

The command that you must use for you is:

id

and for any other user:

id username
2

To get a list containing all group membership use id -a

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.