Some people prefer using GUI tools for their needs, but when you want to figure out what hardware you are using the CLI is the best tool, and I will prove it to you now.
The commands/programs of interest for hardware discovery are:
- dmidecode
- lspci
- lsusb
- lsscsi
- lsdev
These commands can give anything from simple output to highly details verbose output telling you hardware features, I/O ports and absolute block files used.
dmidecode
This application dumps the DMI table contents (BIOS information) of your hardware into human-readable format. The included information can included the following:
- The companies that built the hardware
- The hardware version numbers
- the serial numbers of various components
- release dates
- Hardware characteristics
- Chassis information
- Processor information
- Processor socket type
- Hardware voltages
- Hardware speed constraints
- Current operating Speeds
- Maximum memory size per slot
- Installed memory size for each slot
- and so much more
lspci
lsusb
The lsusb command is similar to the lcpci command except that it outputs your usb controller(s) and all connected devices. As with the lspci command you can pass the "-vvv" argument to get detailed information.



Comments
Subscribe to Comments Feed