User and groups

Identify the account and group IDs.

Explorer

Lesson goal

Identify the account and group IDs.

How it works

whoami prints the current user name; id reports UID, GID and groups. Training terminal data belongs only to the model.

whoami
id
hostname

Try it

Compare output from the three commands.

Check your understanding

Which command shows the UID?

All lessons
Search Linux DNA

DNA / GUIDANCE

Tux

Hi! Choose your goal and I’ll guide you to the right section.

Local guidance, no external AI or data collection.