System and processes

The blkid command

Shows the UUID and filesystem type of each device. Key to mounting by UUID.

Syntax

blkid [dispositivo]

Copy-ready examples

$ blkidUUID of every device

You can try them in the browser terminal: it does not touch your computer.

Typical mistakes

  • It usually requires sudo to read the devices.

Related commands

FAQ

Why mount by UUID instead of /dev/sdb1?

Because the /dev/sdb1 name can change between boots; the UUID does not.

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