Syntax of `blkid` Command in Linux
blkid [OPTIONS] [DEVICE_NAME]
Here,
OPTIONS – various command options to modify the behaviour of the blkid command.
DEVICE NAME – name of the device to be searched. This can be omitted.
blkid Command Examples in Linux
blkid is a command to locate or print block device attributes. A block device can be a hard drive, solid-state drive (SSD), or removable storage device, such as a USB drive. It can determine the type of content (e.g., filesystem or swap) that a block device holds, and also the attributes (tokens, NAME=value pairs) from the content metadata (e.g., LABEL or UUID fields). The blkid command is part of the util-linux package. You need a Linux terminal to use this command.