To find the serial number of a drive on a Gnome desktop, you can use the gnome-disks
utility.
To open gnome-disks
, click on the Activities menu in the top left corner of the screen, then type "Disks" in the search bar and click on the "Disks" icon.
In the gnome-disks
utility, you can select the drive that you want to view the serial number for from the list on the left. The serial number of the drive will be displayed in the "Overview" tab.
You can also use the lsblk
command in a terminal to view the serial number of a drive.
Here is the general syntax for displaying the serial number of a drive with lsblk
:
lsblk -d -o serial device
Replace "device" with the name of the device, such as /dev/sda
for the first hard drive.
For example, to display the serial number of the first hard drive, you can use the following command:
lsblk -d -o serial /dev/sda