2018-01-01 16:40:38 +00:00
|
|
|
# lshw
|
|
|
|
|
|
|
|
> List detailed information about hardware configurations as root user.
|
2021-08-16 11:34:01 +01:00
|
|
|
> More information: <https://manned.org/lshw>.
|
2018-01-01 16:40:38 +00:00
|
|
|
|
|
|
|
- Launch the GUI:
|
|
|
|
|
|
|
|
`sudo lshw -X`
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- List all hardware in tabular format:
|
2018-01-01 16:40:38 +00:00
|
|
|
|
|
|
|
`sudo lshw -short`
|
|
|
|
|
|
|
|
- List all disks and storage controllers in tabular format:
|
|
|
|
|
|
|
|
`sudo lshw -class disk -class storage -short`
|
|
|
|
|
|
|
|
- Save all network interfaces to an HTML file:
|
|
|
|
|
|
|
|
`sudo lshw -class network -html > {{interfaces.html}}`
|