snippetbashTip
blkid — List all recognized partitions and their Universally Unique Identifier (UUID). More information: <ht
Viewed 0 times
commandallandclirecognizedblkidpartitionslist
linux
Problem
How to use the
blkid command: List all recognized partitions and their Universally Unique Identifier (UUID). More information: <https://manned.org/blkid>.Solution
blkid — List all recognized partitions and their Universally Unique Identifier (UUID). More information: <https://manned.org/blkid>.List all partitions:
sudo blkidList all partitions in a table, including current mountpoints:
sudo blkid {{[-o|--output]}} listGet the UUID of the filesystem on a partition:
sudo blkid {{[-s|--match-tag]}} UUID {{[-o|--output]}} value {{/dev/sdXY}}Code Snippets
List all partitions
sudo blkidList all partitions in a table, including current mountpoints
sudo blkid {{[-o|--output]}} listGet the UUID of the filesystem on a partition
sudo blkid {{[-s|--match-tag]}} UUID {{[-o|--output]}} value {{/dev/sdXY}}Context
tldr-pages: linux/blkid
Revisions (0)
No revisions yet.