thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

Systems & Data Center · Foundational

blkid

A Linux command that displays block device attributes such as filesystem type, label and UUID.

Definition

blkid is the quickest way to obtain a filesystem UUID for /etc/fstab. lsblk -f shows similar information in a tree view.

Example

blkid /dev/sdb1 prints UUID="..." TYPE="xfs".

Exam tip

Use blkid or lsblk -f to find UUIDs when writing persistent fstab entries.

Related terms