lshw — List all Hardware
lshw is a small tool to extract detailed information on the hardware configuration of the machine. It currently supports DMI (x86 and IA-64 only), OpenFirmware device tree (PowerPC only), PCI/AGP, CPUID (x86), IDE/ATA/ATAPI, PCMCIA (only tested on x86), SCSI and USB. For a detailed list of hardware, run this command in superuser mode.
$ lshw -- Show detailed list of hardwares in tree form. $ lshw -short -- Show the short output. $ lshw -businfo -- Show devices connected to the system bus. $ lshw -class disk -- Show disk class devices (hd, sd,..) $ lshw -c network -- Show network class devices. $ lshw -c network -sanitize -- Remove the sensible details (IP, Serial Number,..) from the output. It is useful for sharing the output in mailing lists. $ lshw -numeric -- Show the numeric device ID also. $ lshw -xml > lshw.xml -- Dump the output in XML format. $ lshw -html > lshw.html -- Dump the output in HTML format.
Read: man lshw