Users
The id command
Shows your user number, your main group and the groups you belong to.
Syntax
id [usuario]Copy-ready examples
$ idYour full record$ id rootRoot's recordYou can try them in the browser terminal: it does not touch your computer.
Typical mistakes
- Under the hood Linux works with numbers; names are convenience.
FAQ
What is uid 0?
The number reserved for the superuser, root.
Learn to actually use it
The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.
Start the free course