get the UUID of a partition
You want to figure out the UUID of a partition. For instance, you want to mount a partition upon boot and thus you want to add it to your
$ sudo blkid
“The blkid program … 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).” (source: man)
As msx pointed out in the comments, you can also write “
lsblk -f“, which doesn’t require sudo rights at all.