2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-15 06:12:59 +00:00
cheat.sheets/sheets/lshw
terminalforlife 1d9f6a30d7 Minor lshw tweak
As with most of my changes involving the 2nd line, it's taken directly
from the so-called official short description of the package, as seen
with apt-cache(8).
2020-10-20 23:55:21 +01:00

34 lines
801 B
Plaintext

# lshw
# Information about hardware configuration
# Generate full information report about all detected hardware.
lshw
# Display brief hardware information.
lshw -short
# Display only memory information.
lshw -short -class memory
# Display processor information.
lshw -class processor
# Display the disk drives with the disk class.
lshw -short -class disk
# Display information about the partitions and controllers also, specify the
# storage and volume class along with the disk class.
lshw -short -class disk -class storage -class volume
# Network adapter information.
lshw -class network
# Display the address details of PCI, USB, SCSI and IDE devices.
lshw -businfo
# Generate report in HTML format.
lshw -html > hardware.html
# Generate report in XML format.
lshw -html > hardware.html