×

UUID stands for Universally Unique Identifier and it is used very extensively to identify information within computer systems.

It comprises of 128 bits and its major use case is to uniquely identify different disk partitions in a computer system.
Here at LinuxAPT, as part of our Server Management Services, we regularly help our Customers to perform Linux related queries.
In this context, we shall look into the different methods of finding the UUIDs in Linux.

1. Finding UUIDs via the "blkid" Command

To use the "blkid" command to find the UUID in Linux Mint 20, you will have to execute it in the manner shown below:

$ sudo blkid

The UUID of the /dev/sda5 partition will be displayed as a result of the above command.

2. Finding UUIDs via the "lsblk" Command

To use the "lsblk" command to find the UUID in Linux Mint 20, you will have to execute it in the manner shown below:

$ sudo lsblk –o PATH,SIZE,RO,TYPE,MOUNTPOINT,UUID,MODEL

The UUID of the /dev/sda5 partition will be displayed as a result of the above command.

3. Finding UUIDs via the "ls" Command

To use the "ls" Command  to find the UUID in Linux Mint 20, you will have to execute it in the manner shown below:

$ sudo ls –l /dev/disk/by-uuid

The UUID of the /dev/sda5 partition will be displayed as a result of the above command.

[Need urgent assistance in fixing Linux Mint related system errors? We can help you. ]


Conclusion

More Linux Tutorials

We create Linux HowTos and Tutorials for Sys Admins. Visit us on IbmiMedia.com

Also for Tech related tips, Visit forum.outsourcepath.com or General Technical tips on www.outsourcepath.com