我正在寻找可用的串行端口、USB 和以太网端口以及它们的标签。
答案1
是
lshw
你在找什么?
来自手册
DESCRIPTION
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. on DMI-capable x86 or IA-64 systems and on some PowerPC machines (PowerMac G4
is known to work).
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.