Display current user and group identity.

# To display current user's id (UID), group id (GID) and groups to which they belong:
id

# To display the current user identity as a number:
id -u

# To display the current group identity as a number:
id -g

# To display an arbitrary user's id (UID), group id (GID) and groups to which they belong:
id <username>