Belajar Sendiri

Commands

id

id [user]

Risk: Safe

What it does

Shows a user's number and every group (team) they belong to.

When to use it

To check who you are and which keys your teams give you.

Example

$ id

You: uid 1000, groups you and sudo.

$ id aina

Another user's numbers and groups.

$ groups aina

Just the group names.