gsandie online notebook

Get UUID of disks

You can use blkid, plenty of good options in the man page.

Also /dev/disk/by-uuid (the other /dev/disk/by-* directories are quite interesting too).