Finding out the UUID of partitions

Often, Linux software configurations define partitions by there UUID as opposed to their /dev device. You can find out what the UUID is with:

blkid /dev/sdx

Or, you can do:

ls -l /dev/disk/by-uuid