How to Check Device Serial in Ubuntu

In Ubuntu system, you can check the serial number of a device through the command line. The specific steps are as follows:

  1. Open the terminal using the shortcut Ctrl + Alt + T.
  2. Use the command below to view the serial number of the hard drive:
  3. Use the command “sudo hdparm -I /dev/sda” to display information about the hard drive, then filter the output for the “Serial” information using the “grep” command.
  4. The device name you want to check the serial number on is /dev/sda, you can replace it with a different device name as needed.
  5. Type in the command to view the CPU serial number.
  6. Check the ID using the command “sudo dmidecode -t 4 | grep ID”.

You can view the serial number of devices in Ubuntu system using the steps above.

bannerAds