commands in ubuntu to get hardware information
lshw is a small tool to extract detailed information on the hardware configuration of the machine. It can report
exact memory configuration, firmware version, mainboard configuration, CPU version and speed, cache
configuration, bus speed, etc.
$ sudo lshw | less (or more)
$ sudo lshw -html > myhardware.html
$ sudo lshw -xml > myhardware.xml
To show PCI info:
$ lspci -tv
To see USB info:
$ lsusb -tv
To display BIOS information:
$ dmidecode -q
To see specific information about disk (disk sda in example) you can use:
$ hdparm -i /dev/sda