Linux Commands Helper

💬 Your AI-powered Linux assistant

blkid Command - Locate/Print Block Device Attributes

The blkid command is used to locate and print block device attributes, such as UUID, filesystem type, and label. It is useful for identifying disks and partitions.

Syntax

blkid [options] [device]

Examples

blkid

List all block devices and their attributes.

blkid /dev/sda1

Show attributes for a specific device.

Notes

  • Requires root privileges for some devices.
  • Useful for scripting and fstab configuration.
  • Alternative: lsblk -f also shows filesystem info.

© 2025 Linux Commands Helper. All rights reserved.

This project is under construction. Feedback and contributions are welcome.

Fazier badgeFeatured on Startup Fame